Changeset 1848


Ignore:
Timestamp:
21/09/2007 20:47:07 (4 years ago)
Author:
chris
Message:

Fix compilation on MinGW. Not yet actually used on MinGW due to the
file extension, but it might be soon, if the default implementation
doesn't do what I want.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/chris/general/lib/win32/getopt_long.cxx

    r530 r1848  
    5858 */ 
    5959 
    60 #include "Box.h" 
     60// #include "Box.h" 
    6161 
    6262#include <errno.h> 
    6363#include <stdarg.h> 
    6464#include <stdlib.h> 
     65#include <stdio.h> 
    6566#include <string.h> 
    6667 
    67 #ifdef _MSC_VER 
     68#include "getopt.h" 
     69 
     70#if defined _MSC_VER || defined __MINGW32__ 
    6871#define REPLACE_GETOPT          /* use this getopt as the system getopt(3) */ 
    6972#endif 
Note: See TracChangeset for help on using the changeset viewer.