From: Nicholas Nethercote Date: Wed, 20 May 2009 06:42:59 +0000 (+0000) Subject: DARWIN sync: conditional compilation and spacing/comments. X-Git-Tag: svn/VALGRIND_3_5_0~641 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=262c096bf26257f20fe4a57e96474d4e69f864bc;p=thirdparty%2Fvalgrind.git DARWIN sync: conditional compilation and spacing/comments. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10036 --- diff --git a/coregrind/pub_core_vkiscnums.h b/coregrind/pub_core_vkiscnums.h index 0adbb94eef..4cedf37524 100644 --- a/coregrind/pub_core_vkiscnums.h +++ b/coregrind/pub_core_vkiscnums.h @@ -1,7 +1,6 @@ /*--------------------------------------------------------------------*/ -/*--- Top level for kernel interface declarations. ---*/ -/*--- pub_core_vkiscnums.h ---*/ +/*--- Syscall numbers and related operations. pub_core_vkiscnums.h ---*/ /*--------------------------------------------------------------------*/ /* @@ -47,13 +46,19 @@ /* Make it possible to include this file in assembly sources. */ #if !defined(VG_IN_ASSEMBLY_SOURCE) -#if defined(VGO_aix5) +#if defined(VGO_linux) + // Nothing + +#elif defined(VGO_aix5) /* Bind the given syscall name to the given number. Returns True if successful, False if the name is unknown. */ extern Bool VG_(aix5_register_syscall)( Int, UChar* ); -#endif -#endif /* !defined(VG_IN_ASSEMBLY_SOURCE) */ +#else +# error Unknown OS +#endif // defined(VGO_*) + +#endif // !defined(VG_IN_ASSEMBLY_SOURCE) #endif // __PUB_CORE_VKISCNUMS_H