A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
special declaration of snprintf on Visual C++
[simgrid.git]
/
tools
/
gras
/
windows_stub_generator.c
diff --git
a/tools/gras/windows_stub_generator.c
b/tools/gras/windows_stub_generator.c
index
67c941a
..
360352a
100644
(file)
--- a/
tools/gras/windows_stub_generator.c
+++ b/
tools/gras/windows_stub_generator.c
@@
-31,15
+31,12
@@
XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(stubgen);
#ifdef _WIN32
#ifdef _WIN32
+char* __gras_path = NULL;
+
/* tabulation level (used to indent the lines of the borland project file */
static unsigned int level = 0;
/* tabulation level (used to indent the lines of the borland project file */
static unsigned int level = 0;
-
-/* the gras.h header directory */
-static char* __gras_path = NULL;
-
-
#ifndef MAX_PATH
#define MAX_PATH 260
#endif
#ifndef MAX_PATH
#define MAX_PATH 260
#endif
@@
-681,7
+678,6
@@
generate_borland_real_life_project(const char* name)
borland_project.encoding ="utf-8";
borland_project.comment ="C++Builder XML Project";
borland_project.version = "BCB.06.00";
borland_project.encoding ="utf-8";
borland_project.comment ="C++Builder XML Project";
borland_project.version = "BCB.06.00";
- borland_project.lib_dir = " ";
borland_project.lib_dir = xbt_new0(char,MAX_PATH);
borland_project.lib_dir = xbt_new0(char,MAX_PATH);