minor os/2 reorganization for iconv

This commit is contained in:
Ozkan Sezer
2021-12-01 01:20:02 +03:00
parent 8c91cf7dba
commit b20484e803
4 changed files with 10 additions and 9 deletions

View File

@@ -23,7 +23,6 @@
#include "SDL_log.h"
#include "SDL_stdinc.h"
#include "geniconv/geniconv.h"
#ifdef OS2DEBUG
#if (OS2DEBUG-0 >= 2)
@@ -39,8 +38,8 @@
#endif /* OS2DEBUG */
/* StrUTF8New() - geniconv/sys2utf8.c */
#include "geniconv/geniconv.h"
#define OS2_SysToUTF8(S) StrUTF8New(1, (S), SDL_strlen((S)) + 1)
#define OS2_UTF8ToSys(S) StrUTF8New(0, (char *)(S), SDL_strlen((S)) + 1)