| author | Dmitriy Morozov <morozov@cs.duke.edu> |
| Thu, 21 Dec 2006 13:32:34 -0500 | |
| changeset 5 | ee9052408c40 |
| parent 0 | d95020656286 |
| permissions | -rw-r--r-- |
// sys.h // // This header file is included at the top of every source file, // before any other header file. // It is intended to add defines that are needed globally and // to work around Operating System dependend incompatibilities. // EXAMPLE: If you use autoconf you can add the following here. // #ifdef HAVE_CONFIG_H // #include "config.h" // #endif // EXAMPLE: You could add stuff like this here too // (Otherwise add -DCWDEBUG to your CFLAGS). // #if defined(WANTSDEBUGGING) && defined(HAVE_LIBCWD_BLAHBLAH) // #define CWDEBUG // #endif // The following is the libcwd related mandatory part. // It must be included before any system header file is included! #ifdef CWDEBUG #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif #include <libcwd/sys.h> #endif