diff options
author | bustico | 2008-05-19 16:49:46 +0000 |
---|---|---|
committer | bustico | 2008-05-19 16:49:46 +0000 |
commit | 24264ef88ba6eda574207fde74877eb589062d6d (patch) | |
tree | 52efe89755cb2d540b89ce1ea249e1e16d703ddc /src | |
parent | 04b93464d970f6345736676a2265e83329c56ad9 (diff) | |
download | ivy-c-24264ef88ba6eda574207fde74877eb589062d6d.zip ivy-c-24264ef88ba6eda574207fde74877eb589062d6d.tar.gz ivy-c-24264ef88ba6eda574207fde74877eb589062d6d.tar.bz2 ivy-c-24264ef88ba6eda574207fde74877eb589062d6d.tar.xz |
* fix some warning raised by visual studio compiler
* remove macro definition in tools Makefile that are exported by main Makefile
Diffstat (limited to 'src')
-rw-r--r-- | src/ivy.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1066,9 +1066,11 @@ IvyChangeMsg (MsgRcvPtr msg, const char *fmt_regex, ... ) int IvySendMsg(const char *fmt, ...) /* version dictionnaire */ { int match_count = 0; - MsgSndDictPtr msgSendDict; - static IvyBuffer buffer = { NULL, 0, 0}; /* Use static mem to eliminate multiple call to malloc /free */ +#ifndef OPENMP + MsgSndDictPtr msgSendDict; +#endif + static IvyBuffer buffer = { NULL, 0, 0}; /* Use static mem to eliminate multiple call to malloc /free */ va_list ap; /* construction du buffer message à partir du format et des arguments */ |