JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
more changes for windows
[vor.git] / main.c
diff --git a/main.c b/main.c
index 7620378..60ee8f0 100644 (file)
--- a/main.c
+++ b/main.c
@@ -19,7 +19,9 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  */
 
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  */
 
-#include <argp.h>
+#ifndef WIN32
+# include <argp.h>
+#endif
 #include <math.h>
 #include <SDL.h>
 #include <SDL_image.h>
 #include <math.h>
 #include <SDL.h>
 #include <SDL_image.h>
@@ -765,7 +767,9 @@ gameloop() {
 int
 main(int argc, char **argv) {
        init_opts();
 int
 main(int argc, char **argv) {
        init_opts();
+#ifndef WIN32
        argp_parse(&argp, argc, argv, 0, 0, 0);
        argp_parse(&argp, argc, argv, 0, 0, 0);
+#endif
 
        if(init()) {
                printf ("ta: '%s'\n",initerror);
 
        if(init()) {
                printf ("ta: '%s'\n",initerror);