[CMAKE]
[reactos.git] / subsystems / win32 / win32k / include / win32kp.h
index 8bcf046..b84a319 100644 (file)
 #pragma once
 #define INTERNAL_CALL APIENTRY
 
+#ifndef _MSC_VER
+#define PLACE_IN_SECTION(s) __attribute__((section(s)))
+#define INIT_FUNCTION PLACE_IN_SECTION("INIT")
+#else
+#define INIT_FUNCTION
+#endif
+
 /* Internal Win32k Headers */
 #include <include/accelerator.h>
 #include <include/clipboard.h>