Skip to content

Commit

Permalink
SDL_config_os2.h: undefine HAVE_TRUNC
Browse files Browse the repository at this point in the history
trunc() exists only in OpenWatcom 2.0 fork, and its implementation
already is the same as the fallback we have here..
  • Loading branch information
sezero committed Nov 14, 2020
1 parent bee8db3 commit 3e40b87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/SDL_config_os2.h
Expand Up @@ -180,7 +180,7 @@
/* #undef HAVE_SQRTF */
#define HAVE_TAN 1
/* #undef HAVE_TANF */
#define HAVE_TRUNC 1
/* #undef HAVE_TRUNC */
/* #undef HAVE_TRUNCF */

#endif /* SDL_config_os2_h_ */

0 comments on commit 3e40b87

Please sign in to comment.