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
sed -i -e 's/\t/ /g' *.[ch] Please people, stop using tabs in your source
[simgrid.git]
/
src
/
xbt
/
xbt_main.c
diff --git
a/src/xbt/xbt_main.c
b/src/xbt/xbt_main.c
index
5660ba7
..
4222d2d
100644
(file)
--- a/
src/xbt/xbt_main.c
+++ b/
src/xbt/xbt_main.c
@@
-62,12
+62,12
@@
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason,
LPVOID lpvReserved)
{
if (fdwReason == DLL_PROCESS_ATTACH
LPVOID lpvReserved)
{
if (fdwReason == DLL_PROCESS_ATTACH
-
&& xbt_dll_process_is_attached == 0) {
-
xbt_dll_process_is_attached = 1;
-
xbt_preinit();
+ && xbt_dll_process_is_attached == 0) {
+ xbt_dll_process_is_attached = 1;
+ xbt_preinit();
} else if (fdwReason == DLL_PROCESS_DETACH
} else if (fdwReason == DLL_PROCESS_DETACH
-
&& xbt_dll_process_is_attached == 1) {
-
xbt_dll_process_is_attached = 0;
+ && xbt_dll_process_is_attached == 1) {
+ xbt_dll_process_is_attached = 0;
xbt_postexit();
}
return 1;
xbt_postexit();
}
return 1;