summaryrefslogtreecommitdiff
path: root/lib/windows-thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/windows-thread.h')
-rw-r--r--lib/windows-thread.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/windows-thread.h b/lib/windows-thread.h
index 68b8e96813..e6511d736e 100644
--- a/lib/windows-thread.h
+++ b/lib/windows-thread.h
@@ -20,6 +20,11 @@
#ifndef _WINDOWS_THREAD_H
#define _WINDOWS_THREAD_H
+/* This file uses _Noreturn. */
+#if !_GL_CONFIG_H_INCLUDED
+ #error "Please include config.h first."
+#endif
+
#define WIN32_LEAN_AND_MEAN /* avoid including junk */
#include <windows.h>