Changeset 1930 for box/trunk/lib/server/Daemon.cpp
- Timestamp:
- 07/11/2007 21:06:55 (5 years ago)
- File:
-
- 1 edited
-
box/trunk/lib/server/Daemon.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/lib/server/Daemon.cpp
r1891 r1930 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 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.
