diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-09-10 15:38:03 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:16:45 +0200 |
commit | 3b43c4fee510bd05675adbfae6b3ad9cfc2d1f47 (patch) | |
tree | e9ee54d695aef84702073f5ef0880b89b439945d | |
parent | 2d215fdb7dcc0ed4c7cad366fe24da8e30f7f2ed (diff) | |
download | mpv-3b43c4fee510bd05675adbfae6b3ad9cfc2d1f47.tar.bz2 mpv-3b43c4fee510bd05675adbfae6b3ad9cfc2d1f47.tar.xz |
loader: Move fs_seg extern variable declaration to ldt_keeper.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32133 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | loader/ldt_keeper.h | 2 | ||||
-rw-r--r-- | loader/win32.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/loader/ldt_keeper.h b/loader/ldt_keeper.h index 9fff8de0c1..cdcccc8055 100644 --- a/loader/ldt_keeper.h +++ b/loader/ldt_keeper.h @@ -1,6 +1,8 @@ #ifndef MPLAYER_LDT_KEEPER_H #define MPLAYER_LDT_KEEPER_H +extern void *fs_seg; + typedef struct { void* fs_seg; char* prev_struct; diff --git a/loader/win32.c b/loader/win32.c index c8242563b1..cd2063dd9c 100644 --- a/loader/win32.c +++ b/loader/win32.c @@ -49,6 +49,7 @@ for DLL to know too much about its environment. #include "loader.h" #include "com.h" #include "ext.h" +#include "ldt_keeper.h" #include "path.h" #include <stdlib.h> @@ -1511,8 +1512,6 @@ static int WINAPI expGetCurrentProcess(void) // this version is required for Quicktime codecs (.qtx/.qts) to work. // (they assume some pointers at FS: segment) -extern void* fs_seg; - //static int tls_count; static int tls_use_map[64]; static int WINAPI expTlsAlloc(void) |