author | jurikm |
Sun, 12 Feb 2012 14:04:10 +0000 | |
changeset 8245 | 383896da4129 |
parent 1175 | 41d9fb018a04 |
permissions | -rw-r--r-- |
1175 | 1 |
--- fireflies-2.07/src/main.cc.orig Mon Jun 23 16:55:04 2003 |
2 |
+++ fireflies-2.07/src/main.cc Fri Mar 7 01:13:41 2008 |
|
3 |
@@ -14,7 +14,7 @@ |
|
4 |
||
5 |
#ifdef WIN32 |
|
6 |
#include <windows.h> |
|
7 |
-#else |
|
8 |
+#elif defined(__GNU__) |
|
9 |
#include <argp.h> |
|
10 |
#endif |
|
11 |
||
12 |
@@ -26,7 +26,7 @@ |
|
13 |
int mspf = 1000/30; |
|
14 |
bool full_screen = false; |
|
15 |
||
16 |
-#ifdef WIN32 |
|
17 |
+#if defined(WIN32) || !defined(__GNU__) |
|
18 |
// mingw doesn't have argp. implement half-assed version |
|
19 |
||
20 |
#define OPTION_HIDDEN 1 |