Changeset 3016 for trunk/gsdl/src


Ignore:
Timestamp:
2002-02-27T13:11:45+13:00 (22 years ago)
Author:
jrm21
Message:

Check for cygwin - if so, #include stdio before #defining setbuffer, as it
is declared in stdio.h, but appears to not be in the library.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/mgpp/lib/sysfuncs.h

    r2927 r3016  
    7575
    7676#ifndef HAVE_SETBUFFER
     77#ifdef __CYGWIN__
     78/* Cygwin has setbuffer in stdio.h, but can't link against it!! */
     79#include <stdio.h>
     80#endif
    7781# define setbuffer(f, b, s)  setvbuf(f, b, _IOFBF, s)
    7882#endif
Note: See TracChangeset for help on using the changeset viewer.