* Added additional conditional coding to differentiate between Linux and Windows Compiles

This commit is contained in:
Philippose Rajan 2009-01-31 20:16:46 +00:00
parent 2bb63aab47
commit 6fedcf841a
4 changed files with 20 additions and 9 deletions

View File

@ -19,11 +19,12 @@
#include <GL/gl.h>
#include <GL/glu.h>
#ifndef WIN32
// parallel
#define GLX_GLXEXT_PROTOTYPES
#include <GL/glx.h>
#include <GL/glxext.h>
#endif
#ifndef NOTCL

View File

@ -14,6 +14,15 @@
// #define DEBUG
// Philippose - 31/01/2009
// Hack for the Windows Version
// in Linux, "PACKAGE_VERSION" is replaced
// in the configure/make phases, with the
// right version number
#ifdef WIN32
#define PACKAGE_VERSION "4.9.5"
#endif
#define noDEMOVERSION
#define noDEVELOP

View File

@ -1,9 +1,9 @@
#ifndef FILE_MYSTDLIB
#define FILE_MYSTDLIB
#ifndef WIN32
#include <config.h>
#endif
#include <iostream>
@ -71,14 +71,14 @@ namespace metis { extern "C" {
# endif
# include <windows.h>
# undef WIN32_LEAN_AND_MEAN
# include <winnt.h>
# include <winnt.h>
#else // Not using MC VC++
# ifndef NO_PARALLEL_THREADS
# include <pthread.h>
# ifndef NO_PARALLEL_THREADS
# include <pthread.h>
# endif
#endif

View File

@ -11,8 +11,9 @@
#include <fenv.h>
#endif
#ifndef WIN32
#include <dlfcn.h>
#endif
#ifdef PARALLEL
#include <mpi.h>