allow to enable PCH for gcc and clang
This commit is contained in:
@@ -58,6 +58,11 @@
|
||||
#include <crtdbg.h>
|
||||
#endif
|
||||
|
||||
#if defined(FC_OS_LINUX) || defined(FC_OS_MACOSX) || defined(FC_OS_BSD)
|
||||
#include <unistd.h>
|
||||
#include <pwd.h>
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
|
||||
// Streams
|
||||
#include <iostream>
|
||||
|
||||
@@ -55,6 +55,12 @@
|
||||
#include <Rpc.h>
|
||||
#endif
|
||||
|
||||
#if defined (FC_OS_LINUX) || defined(FC_OS_CYGWIN) || defined(FC_OS_MACOSX) || defined(FC_OS_BSD)
|
||||
#include <dirent.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/stat.h>
|
||||
#endif
|
||||
|
||||
// STL
|
||||
#include <string>
|
||||
#include <list>
|
||||
|
||||
@@ -53,7 +53,6 @@
|
||||
#include <float.h>
|
||||
#include <fcntl.h>
|
||||
#include <ios>
|
||||
#include <io.h>
|
||||
|
||||
#ifdef FC_USE_GTS
|
||||
# include <gts.h>
|
||||
@@ -75,6 +74,7 @@
|
||||
// FIXME: Causes problem with boost/numeric/bindings/lapack/syev.hpp(117)
|
||||
#ifdef FC_OS_WIN32
|
||||
//# include <windows.h>
|
||||
#include <io.h>
|
||||
#endif
|
||||
|
||||
#include <boost/algorithm/string/replace.hpp>
|
||||
|
||||
@@ -53,7 +53,6 @@
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <io.h>
|
||||
#include <fcntl.h>
|
||||
#include <assert.h>
|
||||
|
||||
@@ -101,7 +100,8 @@
|
||||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#include <Windows.h>
|
||||
#include <io.h>
|
||||
#endif //_PreComp_
|
||||
|
||||
#ifndef _Standard_Version_HeaderFile
|
||||
|
||||
@@ -195,6 +195,9 @@
|
||||
# include <OpenGL/gl.h>
|
||||
# include <OpenGL/glext.h>
|
||||
# else
|
||||
# ifndef GL_GLEXT_PROTOTYPES
|
||||
# define GL_GLEXT_PROTOTYPES 1
|
||||
# endif
|
||||
# include <GL/gl.h>
|
||||
# include <GL/glext.h>
|
||||
# endif //FC_OS_MACOSX
|
||||
|
||||
Reference in New Issue
Block a user