]> pd.if.org Git - pdclib/blobdiff - platform/posix/internals/_PDCLIB_config.h
Enable building PDCLib with Watcom. This was surprisingly painless: their C99 mode...
[pdclib] / platform / posix / internals / _PDCLIB_config.h
index 7e66178b96ea124ba029b3651e03dfc8739e976c..4252cff5535ce2e8495c9d942adb53cf52810d7d 100644 (file)
 /* specific platforms, e.g. by swapping int instead of char.                  */
 #define _PDCLIB_memswp( i, j, size ) char tmp; do { tmp = *i; *i++ = *j; *j++ = tmp; } while ( --size );
 
-/* Define this to some compiler directive that can be written after the       */
-/* parameter list of a function declaration to indicate the function does     */
-/* never return. If your compiler does not support such a directive, define   */
-/* to nothing. (This is to avoid warnings with the exit functions under GCC.) */
-#define _PDCLIB_NORETURN __attribute__(( noreturn ))
-
 /* The maximum value that errno can be set to. This is used to set the size   */
 /* of the array in struct lconv (<locale.h>) holding error messages for the   */
 /* strerror() and perror() functions. (If you change this value because you   */