Skip to content

Commit f31ff5e

Browse files
committed
win32: use GCC noinline on MinGW
1 parent 4b33643 commit f31ff5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/trusted/service_runtime/sel_ldr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ void NaClVmIoPendingCheck_mu(struct NaClApp *nap,
912912
* We need its symbol in the symbol table so don't inline it.
913913
* TODO(dje): add some explanation for the non-GDB person.
914914
*/
915-
#if NACL_WINDOWS
915+
#if NACL_WINDOWS && defined(_MSVC_VER)
916916
__declspec(dllexport noinline)
917917
#endif
918918
#ifdef __GNUC__

0 commit comments

Comments
 (0)