Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/epp


Modified Files:
        cpplib.c 


Log Message:
Disable unused feature (file name mapping).

===================================================================
RCS file: /cvs/e/e16/e/epp/cpplib.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- cpplib.c    18 Jan 2007 04:54:58 -0000      1.15
+++ cpplib.c    22 Jan 2007 02:34:59 -0000      1.16
@@ -113,6 +113,8 @@
 #define INCLUDE_LEN_FUDGE 0
 #endif
 
+#define USE_FILE_NAME_MAPS 0
+
 /* Symbols to predefine.  */
 
 #ifdef CPP_PREDEFINES
@@ -5377,6 +5379,8 @@
    char               *map_to;
 };
 
+#if USE_FILE_NAME_MAPS
+
 #define FILE_NAME_MAP_FILE "header.gcc"
 
 /* Read a space delimited string of unlimited length from a stdio
@@ -5569,6 +5573,19 @@
 
    return open(filename, O_RDONLY, 0666);
 }
+
+#else
+
+static int
+open_include_file(cpp_reader * pfile, char *filename,
+                 struct file_name_list *searchptr)
+{
+   pfile = NULL;
+   searchptr = NULL;
+   return open(filename, O_RDONLY, 0666);
+}
+
+#endif /* USE_FILE_NAME_MAPS */
 
 /* Process the contents of include file FNAME, already open on descriptor F,
  * with output to OP.



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to