https://git.reactos.org/?p=reactos.git;a=commitdiff;h=861360c65f4d73fce519c36de173e2163de726b2

commit 861360c65f4d73fce519c36de173e2163de726b2
Author: Amine Khaldi <[email protected]>
AuthorDate: Thu Nov 23 13:25:57 2017 +0100

    [CRT/STARTUP] For some reason we get unresolved external symbol 
___globallocalestatus when compiling with clang-cl. CORE-11799 CORE-14042 (#94)
---
 sdk/lib/crt/startup/crtexe.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sdk/lib/crt/startup/crtexe.c b/sdk/lib/crt/startup/crtexe.c
index 1bd193bedf..87da3dae39 100644
--- a/sdk/lib/crt/startup/crtexe.c
+++ b/sdk/lib/crt/startup/crtexe.c
@@ -128,10 +128,11 @@ pre_c_init (void)
     {
       __setusermatherr (_matherr);
     }
-
+#ifndef __clang__ /* FIXME: CORE-14042 */
   if (__globallocalestatus == -1)
     {
     }
+#endif
   return 0;
 }
 

Reply via email to