]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Unbreak compilation due to missing #define.
authorNicholas Nethercote <n.nethercote@gmail.com>
Mon, 14 Jun 2004 11:56:59 +0000 (11:56 +0000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Mon, 14 Jun 2004 11:56:59 +0000 (11:56 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2413

coregrind/stage1.c

index 389e2c65fcff44cd08d37f5cc2ff16e4305b4ecb..9baf531dd6963fd7091fe96d384b0acf4aa0aedd 100644 (file)
@@ -134,7 +134,9 @@ static void *fix_auxv(void *v_init_esp, const struct exeinfo *info)
         break;
 
       case AT_SYSINFO:
+#ifdef AT_SYSINFO_EHDR
       case AT_SYSINFO_EHDR:
+#endif
         auxv->a_type = AT_IGNORE;
         break;
       }