Sfoglia il codice sorgente

Poison HS_pushEmptyFIFONode hack if unofficial OS support is desired (use on an unofficial OS will throw an error at runtime).

git-svn-id: file:///var/svn/tigccpp/trunk@1102 9552661e-59e3-4036-b4f2-dbe53926924f
kevinkofler 17 anni fa
parent
commit
9c80ad3cd2
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      tigcc/include/C/homescr.h

+ 4 - 0
tigcc/include/C/homescr.h

@@ -6,6 +6,10 @@
 typedef void(*__HS_pushEmptyFIFONode__type__)(short)__ATTR_TIOS__;
 extern __HS_pushEmptyFIFONode__type__ __get_HS_pushEmptyFIFONode(void)__ATTR_LIB_C__;
 
+#ifdef UNOFFICIAL_OS_SUPPORT
+#pragma GCC poison __get_HS_pushEmptyFIFONode
+#endif
+
 /* Begin Auto-Generated Part */
 #define H_NULL 0
 #ifndef __HAVE_Bool