Skip to content

Commit

Permalink
Fixed fl_call_main.c to compile with BC5. This fix is already in the 2.0
Browse files Browse the repository at this point in the history
tree.

Carl


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@929 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Carl E. Thompson committed Nov 30, 1999
1 parent ec8a580 commit 6e6261c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/fl_call_main.c
@@ -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.
*
Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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 $".
*/

0 comments on commit 6e6261c

Please sign in to comment.