summaryrefslogtreecommitdiff
path: root/src/lib/eet
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-10-10 19:30:17 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-10-10 19:30:17 +0000
commitf9632196267ea5548dec4177bd6df873393e43be (patch)
tree741fbfa9efcc6cdd87e66538a0a195f3a73af294 /src/lib/eet
parentcca6952abf9e3dbe27434f1b10e626b582c7f8d2 (diff)
efl: remove option to enable old EET format.
It's disabled. If user wants to enable, give -DEET_OLD_EET_FILE_FORMAT=1 to CFLAGS. SVN revision: 77790
Diffstat (limited to 'src/lib/eet')
-rw-r--r--src/lib/eet/eet_lib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/eet/eet_lib.c b/src/lib/eet/eet_lib.c
index 98c9225cb3..175fe4113f 100644
--- a/src/lib/eet/eet_lib.c
+++ b/src/lib/eet/eet_lib.c
@@ -1042,7 +1042,7 @@ eet_internal_read2(Eet_File *ef)
1042 return ef; 1042 return ef;
1043} 1043}
1044 1044
1045#if EET_OLD_EET_FILE_FORMAT 1045#ifdef EET_OLD_EET_FILE_FORMAT
1046static Eet_File * 1046static Eet_File *
1047eet_internal_read1(Eet_File *ef) 1047eet_internal_read1(Eet_File *ef)
1048{ 1048{
@@ -1224,7 +1224,7 @@ eet_internal_read1(Eet_File *ef)
1224 return ef; 1224 return ef;
1225} 1225}
1226 1226
1227#endif /* if EET_OLD_EET_FILE_FORMAT */ 1227#endif /* ifdef EET_OLD_EET_FILE_FORMAT */
1228 1228
1229/* 1229/*
1230 * this should only be called when the cache lock is already held 1230 * this should only be called when the cache lock is already held
@@ -1245,11 +1245,11 @@ eet_internal_read(Eet_File *ef)
1245 1245
1246 switch (ntohl(*data)) 1246 switch (ntohl(*data))
1247 { 1247 {
1248#if EET_OLD_EET_FILE_FORMAT 1248#ifdef EET_OLD_EET_FILE_FORMAT
1249 case EET_MAGIC_FILE: 1249 case EET_MAGIC_FILE:
1250 return eet_internal_read1(ef); 1250 return eet_internal_read1(ef);
1251 1251
1252#endif /* if EET_OLD_EET_FILE_FORMAT */ 1252#endif /* ifdef EET_OLD_EET_FILE_FORMAT */
1253 case EET_MAGIC_FILE2: 1253 case EET_MAGIC_FILE2:
1254 return eet_internal_read2(ef); 1254 return eet_internal_read2(ef);
1255 1255