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
This commit is contained in:
diego 2010-09-10 15:38:03 +00:00 committed by Uoti Urpala
parent 2d215fdb7d
commit 3b43c4fee5
2 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -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)