Explorar o código

Error out on an attempt to enable pucrunch for TARGET_EMBEDDED.

git-svn-id: file:///var/svn/tigccpp/trunk@1144 9552661e-59e3-4036-b4f2-dbe53926924f
kevinkofler %!s(int64=17) %!d(string=hai) anos
pai
achega
740805f51f
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      tigcc/ld-tigcc/export/pucrunch.h

+ 4 - 0
tigcc/ld-tigcc/export/pucrunch.h

@@ -18,6 +18,10 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
 
+#if defined(TARGET_EMBEDDED) || defined(TARGET_DLL)
+#error Pucrunch compression is only supported for the standalone target.
+#endif
+
 #include <stdio.h>
 
 #define F_VERBOSE    (1<<0)