mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 21:05:43 +00:00
[3RDPARTY] Link to oldnames for stricmp/wcsicmp
This commit is contained in:
parent
a3bab12b50
commit
1de09c477c
48 changed files with 80 additions and 51 deletions
7
sdk/lib/3rdparty/libmpg123/CMakeLists.txt
vendored
7
sdk/lib/3rdparty/libmpg123/CMakeLists.txt
vendored
|
@ -5,10 +5,8 @@ add_definitions(
|
|||
-DNOXFERMEM
|
||||
-DHAVE_CONFIG_H
|
||||
-DEOVERFLOW=75
|
||||
-Dlseek=_lseek
|
||||
-Dread=_read
|
||||
-Dstrdup=_strdup
|
||||
-D_CRT_NONSTDC_NO_DEPRECATE
|
||||
-Dstrcasecmp=_stricmp
|
||||
-Dstrncasecmp=_strnicmp
|
||||
-D_DLL -D__USE_CRTIMP
|
||||
-D_CRT_NO_POSIX_ERROR_CODES)
|
||||
|
||||
|
@ -48,5 +46,6 @@ add_library(libmpg123
|
|||
${SOURCE}
|
||||
${PCH_SKIP_SOURCE})
|
||||
|
||||
target_link_libraries(libmpg123 oldnames)
|
||||
add_dependencies(libmpg123 psdk)
|
||||
add_pch(libmpg123 precomp.h "${PCH_SKIP_SOURCE}")
|
||||
|
|
|
@ -31,6 +31,8 @@
|
|||
#error _pctype should not be defined
|
||||
#endif
|
||||
|
||||
#define strcasecmp _stricmp
|
||||
#define strncasecmp _strnicmp
|
||||
unsigned int __lc_codepage = 0;
|
||||
int MSVCRT___lc_collate_cp = 0;
|
||||
LCID MSVCRT___lc_handle[LC_MAX - LC_MIN + 1] = { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue