diff options
author | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-04-30 16:56:00 +0000 |
---|---|---|
committer | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-04-30 16:56:00 +0000 |
commit | 0af4151b05184e1da37abdfc88204a322339ff8a (patch) | |
tree | 27cc3606021de6adefeb1d8c7ae2192807cfdeeb /get_path.c | |
parent | bd4e50d10b6e9ba8c0a1c86845802c7735ce1633 (diff) | |
download | mpv-0af4151b05184e1da37abdfc88204a322339ff8a.tar.bz2 mpv-0af4151b05184e1da37abdfc88204a322339ff8a.tar.xz |
Make it compile on mingw again. Now it is finally possible to include windows.h in mplayer.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12359 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'get_path.c')
-rw-r--r-- | get_path.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/get_path.c b/get_path.c index 73b80f2e6e..f27de6cfb1 100644 --- a/get_path.c +++ b/get_path.c @@ -12,7 +12,6 @@ char *get_path(char *filename){ if ((homedir = getenv("HOME")) == NULL) #if defined(__MINGW32__)||defined(__CYGWIN__) /*hack to get fonts etc. loaded outside of cygwin environment*/ { - int __stdcall GetModuleFileNameA(void* hModule,char* lpFilename,int nSize); int i,imax=0; char exedir[260]; GetModuleFileNameA(NULL, exedir, 260); |