Skip to content

Commit

Permalink
Updated getopt.
Browse files Browse the repository at this point in the history
  • Loading branch information
dynamite1981 committed Aug 8, 2004
1 parent 7bfc80e commit 15f8785
Show file tree
Hide file tree
Showing 3 changed files with 607 additions and 394 deletions.
11 changes: 10 additions & 1 deletion adplugdb/adplugdb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,16 @@
#include "../src/adplug.h"
#include "../src/silentopl.h"
#include "../src/database.h"
#include "getopt.h"

/*
* Apple (OS X) and Sun systems declare getopt in unistd.h, other systems
* (Linux) use getopt.h.
*/
#if defined ( __APPLE__ ) || ( defined (__SVR4) && defined (__sun) )
# include <unistd.h>
#else
# include "getopt.h"
#endif

/***** Defines *****/

Expand Down
Loading

0 comments on commit 15f8785

Please sign in to comment.