summaryrefslogtreecommitdiff
path: root/include/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/compat.h')
-rw-r--r--include/compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/compat.h b/include/compat.h
index ffb0d0bdd..1cdad06c2 100644
--- a/include/compat.h
+++ b/include/compat.h
@@ -110,6 +110,7 @@
# include "inspircd_win32wrapper.h"
#else
# include <unistd.h>
+# define ENTRYPOINT int main(int argc, char** argv)
# define DllExport
# define CoreExport
#endif