[PATCH] turn many #if $undefined_string into #ifdef $undefined_string
turn many #if $undefined_string into #ifdef $undefined_string to fix some warnings after -Wno-def was added to global CFLAGS Signed-off-by: Olaf Hering <olh@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
02b775696f
commit
44456d37b5
@@ -76,7 +76,7 @@ typedef unsigned long sigLONG;
|
||||
#endif /* aix */
|
||||
#endif
|
||||
/* For the Macintosh */
|
||||
#if STRUCTALIGNMENTSUPPORTED
|
||||
#ifdef STRUCTALIGNMENTSUPPORTED
|
||||
#pragma options align=mac68k
|
||||
#endif
|
||||
|
||||
@@ -332,7 +332,7 @@ typedef struct dpt_sig {
|
||||
#endif /* aix */
|
||||
#endif
|
||||
/* For the Macintosh */
|
||||
#if STRUCTALIGNMENTSUPPORTED
|
||||
#ifdef STRUCTALIGNMENTSUPPORTED
|
||||
#pragma options align=reset
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user