projects
/
platform
/
upstream
/
orc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
923abe9
)
win32: Fix DllMain definition
author
David Schleef
<ds@schleef.org>
Wed, 14 Jul 2010 00:43:45 +0000
(17:43 -0700)
committer
David Schleef
<ds@schleef.org>
Wed, 14 Jul 2010 00:43:45 +0000
(17:43 -0700)
orc/orconce.c
patch
|
blob
|
history
diff --git
a/orc/orconce.c
b/orc/orconce.c
index
1475eef
..
6f568a9
100644
(file)
--- a/
orc/orconce.c
+++ b/
orc/orconce.c
@@
-54,13
+54,13
@@
orc_once_mutex_unlock (void)
LeaveCriticalSection (&once_mutex);
}
-int
+BOOL WINAPI
DllMain (HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
{
if (dwReason == DLL_PROCESS_ATTACH) {
InitializeCriticalSection (&once_mutex);
}
- return
1
;
+ return
TRUE
;
}
#else