Index: src/libcfa/startup.h
===================================================================
--- src/libcfa/startup.h	(revision 1d29d46e76ca8eeebab3a2ad22aea33afbb42f87)
+++ src/libcfa/startup.h	(revision a357b4cb0c03dfeb20c60e0c9b2baf3d53da375d)
@@ -18,4 +18,5 @@
 #define STARTUP_H
 
+#if GCC_VERSION > 50000
 extern "C" {
 	enum {
@@ -26,4 +27,10 @@
 	};
 }
+#else
+#define STARTUP_PRIORITY_CORE       101
+#define STARTUP_PRIORITY_KERNEL     102
+#define STARTUP_PRIORITY_MEMORY     103
+#define STARTUP_PRIORITY_IOSTREAM   104
+#endif
 
 #endif //STARTUP_H
