diff options
author | Nils Thuerey <nils@thuerey.de> | 2005-11-23 18:18:45 +0300 |
---|---|---|
committer | Nils Thuerey <nils@thuerey.de> | 2005-11-23 18:18:45 +0300 |
commit | 65a824879c86eeb265c21704ab773589c66aafd6 (patch) | |
tree | ff7a27fd325384516afc35b0c024db9c8ca477f6 /source/blender/src/fluidsim.c | |
parent | 936ed99cc624dc83dfa68c526f2ffaed1c32e65f (diff) |
- temporary fix for MSVC (accessing a var from the elbeem lib
caused trouble)
Diffstat (limited to 'source/blender/src/fluidsim.c')
-rw-r--r-- | source/blender/src/fluidsim.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/src/fluidsim.c b/source/blender/src/fluidsim.c index d8e47af970c..15dbb2c899a 100644 --- a/source/blender/src/fluidsim.c +++ b/source/blender/src/fluidsim.c @@ -772,8 +772,13 @@ void fluidsimBake(struct Object *ob) // check if some error occurred if(globalBakeState==-2) { strcat(fsmessage,"Failed to initialize [Msg: "); +#ifndef WIN32 + // msvc seems to have problem accessing the gElbeemErrorString var + strcat(fsmessage,"[Msg: "); strcat(fsmessage,gElbeemErrorString); - strcat(fsmessage,"]|OK%x0"); + strcat(fsmessage,"]"); +#endif // WIN32 + strcat(fsmessage,"|OK%x0"); pupmenu(fsmessage); } // init error } |