]> andersk Git - splint.git/blobdiff - src/cpplib.c
splint now tried to define a symbol based on the current processor type.
[splint.git] / src / cpplib.c
index 9c9c5a5f61650321b38ba74d3acd3ea02a58ee79..33f656a850f150b749d19e3b6ee196cf476f1184 100644 (file)
@@ -3703,6 +3703,12 @@ initialize_builtins (cppReader *pfile)
   cpplib_installBuiltin ("S_SPLINT_S", ctype_int, -1, T_CONST, 2, NULL, -1);
   cpplib_installBuiltin ("__LCLINT__", ctype_int, -1, T_CONST, 2, NULL, -1);
 
+  /*drl 1/9/2001/ try to define the right symbol for the architecture
+    We use autoconf to determine the target cpu 
+   */
+  cpplib_installBuiltin ("__" TARGET_CPU, ctype_int, -1, T_CONST, 2, NULL, -1);
+
+  
   if (CPPOPTIONS (pfile)->debug_output)
     {
       dump_special_to_buffer (pfile, "__BASE_FILE__");
This page took 0.055355 seconds and 4 git commands to generate.