mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 14:52:43 +00:00
Cygwin provides setenv. Fixes compilation on Cygwin.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12028 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
8a72cec9e1
commit
fd8b9bb23f
@ -99,7 +99,7 @@ static int read_buffer(unsigned char* data,int len){
|
||||
|
||||
// end ring buffer stuff
|
||||
|
||||
#if defined(WIN32) || defined(HPUX) || defined(sgi) || (defined(sun) && defined(__svr4__))
|
||||
#if defined(__MINGW32__) || defined(HPUX) || defined(sgi) || (defined(sun) && defined(__svr4__))
|
||||
/* setenv is missing on win32, solaris, IRIX and HPUX */
|
||||
static void setenv(const char *name, const char *val, int _xx)
|
||||
{
|
||||
|
@ -139,7 +139,7 @@ LIBVO_EXTERN(sdl)
|
||||
#include <SDL.h>
|
||||
//#include <SDL/SDL_syswm.h>
|
||||
|
||||
#if defined(WIN32) || defined(HPUX) || defined(sgi) || (defined(sun) && defined(__svr4__))
|
||||
#if defined(__MINGW32__) || defined(HPUX) || defined(sgi) || (defined(sun) && defined(__svr4__))
|
||||
/* setenv is missing on win32, solaris, IRIX and HPUX */
|
||||
static void setenv(const char *name, const char *val, int _xx)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user