[runtime]
[mono.git] / configure.ac
index 315ebb06b27669422069503f63073a193fd8679a..abed4c36cdec1f12dcb0d453193bf2ac365b0863 100644 (file)
@@ -539,6 +539,8 @@ if test x"$GCC" = xyes; then
                # We rely on signed overflow to behave
                CFLAGS="$CFLAGS -fwrapv"
 
+               CFLAGS="$CFLAGS -DMONO_DLL_EXPORT"
+
                ORIG_CFLAGS=$CFLAGS
                CFLAGS="$CFLAGS -Wdeclaration-after-statement"
                AC_MSG_CHECKING(for -Wdeclaration-after-statement option to gcc)