Skip to content

Commit

Permalink
rebuild of few external libs for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Apr 29, 2024
1 parent 7e00445 commit 8ab55df
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 10 deletions.
6 changes: 4 additions & 2 deletions MacOSX/SDL.framework/Versions/A/Headers/SDL_stdinc.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
# elif defined(__MRC__)
void *alloca (unsigned);
# else
char *alloca ();
void *alloca (size_t);
# endif
#endif

Expand Down Expand Up @@ -409,7 +409,9 @@ extern DECLSPEC size_t SDLCALL SDL_strlcpy(char *dst, const char *src, size_t ma
extern DECLSPEC size_t SDLCALL SDL_strlcat(char *dst, const char *src, size_t maxlen);
#endif

#ifdef HAVE_STRDUP
#if defined(HAVE_STRDUP) && defined(_WIN32)
#define SDL_strdup _strdup
#elif defined(HAVE_STRDUP)
#define SDL_strdup strdup
#else
extern DECLSPEC char * SDLCALL SDL_strdup(const char *string);
Expand Down
6 changes: 0 additions & 6 deletions Windows/SDL/include/SDL_config_win32.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,6 @@ typedef unsigned int uintptr_t;
#define HAVE_STDDEF_H 1
#endif

/* Windows CE can support only _strdup() */
#if defined(_WIN32_WCE) && defined(HAVE_STRDUP)
#undef strdup
#define strdup _strdup
#endif

/* Enable various audio drivers */
#ifndef _WIN32_WCE
#define SDL_AUDIO_DRIVER_DSOUND 1
Expand Down
6 changes: 4 additions & 2 deletions Windows/SDL/include/SDL_stdinc.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
# elif defined(__MRC__)
void *alloca (unsigned);
# else
char *alloca ();
void *alloca (size_t);
# endif
#endif

Expand Down Expand Up @@ -409,7 +409,9 @@ extern DECLSPEC size_t SDLCALL SDL_strlcpy(char *dst, const char *src, size_t ma
extern DECLSPEC size_t SDLCALL SDL_strlcat(char *dst, const char *src, size_t maxlen);
#endif

#ifdef HAVE_STRDUP
#if defined(HAVE_STRDUP) && defined(_WIN32)
#define SDL_strdup _strdup
#elif defined(HAVE_STRDUP)
#define SDL_strdup strdup
#else
extern DECLSPEC char * SDLCALL SDL_strdup(const char *string);
Expand Down
Binary file modified Windows/SDL/lib/SDL.dll
Binary file not shown.
Binary file modified Windows/SDL/lib64/SDL.dll
Binary file not shown.
Binary file modified Windows/codecs/x64/libFLAC-8.dll
Binary file not shown.
Binary file modified Windows/codecs/x64/libmpg123-0.dll
Binary file not shown.
Binary file modified Windows/codecs/x64/libopusfile-0.dll
Binary file not shown.
Binary file modified Windows/codecs/x86/libmpg123-0.dll
Binary file not shown.
Binary file modified Windows/codecs/x86/libopusfile-0.dll
Binary file not shown.

0 comments on commit 8ab55df

Please sign in to comment.