Changeset 1975 for box/chris/general/lib/server/Daemon.cpp
- Timestamp:
- 08/12/2007 23:44:17 (4 years ago)
- File:
-
- 1 edited
-
box/chris/general/lib/server/Daemon.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
box/chris/general/lib/server/Daemon.cpp
r1855 r1975 277 277 // unfortunately glibc and BSD differ on this point! 278 278 // http://www.ussg.iu.edu/hypermail/linux/kernel/0305.3/0262.html 279 #ifdef __GLIBC__ 280 optind = 0; 281 #else 279 #if HAVE_DECL_OPTRESET == 1 || defined WIN32 282 280 optind = 1; 283 281 optreset = 1; 282 #elif defined __GLIBC__ 283 optind = 0; 284 #else // Solaris, any others? 285 optind = 1; 284 286 #endif 285 287
Note: See TracChangeset
for help on using the changeset viewer.
