convenience SIG_ATOMIC_T macro definition

pull/1/head curl-7_16_2
Yang Tse 18 years ago
parent 140d6b08fb
commit f68a45779d
  1. 11
      setup_once.h

@ -212,6 +212,17 @@ typedef int sig_atomic_t;
#endif
/*
* Convenience SIG_ATOMIC_T definition
*/
#ifdef HAVE_SIG_ATOMIC_T_VOLATILE
#define SIG_ATOMIC_T static sig_atomic_t
#else
#define SIG_ATOMIC_T static volatile sig_atomic_t
#endif
/*
* Default return type for signal handlers.
*/

Loading…
Cancel
Save