mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
* Added additional conditional coding to differentiate between Linux and Windows Compiles
This commit is contained in:
parent
2bb63aab47
commit
6fedcf841a
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
@ -11,8 +11,9 @@
|
||||
#include <fenv.h>
|
||||
#endif
|
||||
|
||||
#ifndef WIN32
|
||||
#include <dlfcn.h>
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef PARALLEL
|
||||
#include <mpi.h>
|
||||
|
Loading…
Reference in New Issue
Block a user