Updates to make VxWorks play nicely with CMake using cross-compilation

This commit is contained in:
Ian Bell
2014-11-13 05:33:49 +01:00
parent 9e8aa16c62
commit 1b91d51ae6
8 changed files with 213 additions and 21 deletions

View File

@@ -26,14 +26,17 @@ surface tension N/m
*/
#include "CoolPropTools.h"
#if defined(__ISWINDOWS__)
#include <windows.h>
HINSTANCE RefpropdllInstance=NULL;
char refpropPath[] = "";
#if defined(__powerpc__)
void *RefpropdllInstance=NULL;
char refpropPath[] = "/opt/refprop";
#elif defined(__ISLINUX__)
#include <dlfcn.h>
void *RefpropdllInstance=NULL;
char refpropPath[] = "/opt/refprop";
#elif defined(__ISWINDOWS__)
#include <windows.h>
HINSTANCE RefpropdllInstance=NULL;
char refpropPath[] = "";
#elif defined(__ISAPPLE__)
#include <dlfcn.h>
void *RefpropdllInstance=NULL;