Fixed fl_call_main.c to compile with BC5. This fix is already in the 2.0

tree.

Carl


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@929 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Carl E. Thompson 1999-11-30 13:14:27 +00:00
parent ec8a580634
commit 6e6261c5bd

View File

@ -1,5 +1,5 @@
/*
* "$Id: fl_call_main.c,v 1.1.2.4 1999/10/25 20:32:49 mike Exp $"
* "$Id: fl_call_main.c,v 1.1.2.5 1999/11/30 13:14:27 carl Exp $"
*
* Copyright 1998-1999 by Bill Spitzak and others.
*
@ -44,12 +44,16 @@
* Microsoft(r) Windows(r) that allows for it.
*/
#if defined(WIN32) && !defined(FL_DLL)
#if defined(WIN32) && !defined(FL_DLL) && !defined (__GNUC__)
#include <windows.h>
#include <stdio.h>
extern int main(int, char *[]);
#ifdef BORLAND5
#define __argc _argc
#define __argv _argv
#endif
extern int __argc;
extern char **__argv;
@ -79,6 +83,6 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
#endif
/*
* End of "$Id: fl_call_main.c,v 1.1.2.4 1999/10/25 20:32:49 mike Exp $".
* End of "$Id: fl_call_main.c,v 1.1.2.5 1999/11/30 13:14:27 carl Exp $".
*/