]> pd.if.org Git - pdclib/blobdiff - platform/example/internals/_PDCLIB_config.h
Enable building PDCLib with Watcom. This was surprisingly painless: their C99 mode...
[pdclib] / platform / example / internals / _PDCLIB_config.h
index ff4349510dd0093b3e2a9f0dc899e0f25147fc25..15ee828e7bed455fab6525557a3b9a01556c9cb3 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   */