Show
Ignore:
Timestamp:
01/18/10 15:27:20 (3 years ago)
Author:
robert
Message:

From Jean-Sebastien Guay, build fixes for Mingw

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/jpeg/ReaderWriterJPEG.cpp

    r10496 r10963  
    7070 
    7171static int jpegerror = ERR_NO_ERROR; 
     72 
     73/* Some versions of jmorecfg.h define boolean, some don't... 
     74   Those that do also define HAVE_BOOLEAN, so we can guard using that. */ 
     75#ifndef HAVE_BOOLEAN 
     76  typedef int boolean; 
     77  #define FALSE 0 
     78  #define TRUE 1 
     79#endif 
    7280 
    7381/* CODE FOR READING/WRITING JPEG FROM STREAMS