summaryrefslogtreecommitdiff
path: root/src/fl_call_main.c
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2002-06-29 00:10:05 +0000
committerMatthias Melcher <fltk@matthiasm.com>2002-06-29 00:10:05 +0000
commit2d30a9e6fa5f7a328c942fe7b0b68908339c9076 (patch)
tree0727ed8801c736d52d6b8cf2ea7cb282af99f3ff /src/fl_call_main.c
parentfb54e063066c11bfe8d4918bd68453c3b64a68db (diff)
Small changes to make Metrowerks CodeWarrior for Windows work.
See seperate posting with CodeWarrior project file. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2334 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_call_main.c')
-rw-r--r--src/fl_call_main.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/fl_call_main.c b/src/fl_call_main.c
index 6867d0492..4aa26c026 100644
--- a/src/fl_call_main.c
+++ b/src/fl_call_main.c
@@ -1,5 +1,5 @@
/*
- * "$Id: fl_call_main.c,v 1.1.2.11.2.1 2002/01/01 15:11:32 easysw Exp $"
+ * "$Id: fl_call_main.c,v 1.1.2.11.2.2 2002/06/29 00:10:04 matthiaswm Exp $"
*
* Copyright 1998-2002 by Bill Spitzak and others.
*
@@ -50,10 +50,15 @@
#include <stdio.h>
#include <stdlib.h>
+#ifdef __MWERKS__
+# include <crtl.h>
+#endif
+
extern int main(int, char *[]);
+
#ifdef BORLAND5
-#define __argc _argc
-#define __argv _argv
+# define __argc _argc
+# define __argv _argv
#endif
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
@@ -85,6 +90,6 @@ static void dummy(void) {dummy();}
#endif
/*
- * End of "$Id: fl_call_main.c,v 1.1.2.11.2.1 2002/01/01 15:11:32 easysw Exp $".
+ * End of "$Id: fl_call_main.c,v 1.1.2.11.2.2 2002/06/29 00:10:04 matthiaswm Exp $".
*/