mirror of
https://github.com/mpv-player/mpv
synced 2025-02-16 20:27:23 +00:00
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:
parent
2d215fdb7d
commit
3b43c4fee5
@ -1,6 +1,8 @@
|
|||||||
#ifndef MPLAYER_LDT_KEEPER_H
|
#ifndef MPLAYER_LDT_KEEPER_H
|
||||||
#define MPLAYER_LDT_KEEPER_H
|
#define MPLAYER_LDT_KEEPER_H
|
||||||
|
|
||||||
|
extern void *fs_seg;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
void* fs_seg;
|
void* fs_seg;
|
||||||
char* prev_struct;
|
char* prev_struct;
|
||||||
|
@ -49,6 +49,7 @@ for DLL to know too much about its environment.
|
|||||||
#include "loader.h"
|
#include "loader.h"
|
||||||
#include "com.h"
|
#include "com.h"
|
||||||
#include "ext.h"
|
#include "ext.h"
|
||||||
|
#include "ldt_keeper.h"
|
||||||
#include "path.h"
|
#include "path.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@ -1511,8 +1512,6 @@ static int WINAPI expGetCurrentProcess(void)
|
|||||||
// this version is required for Quicktime codecs (.qtx/.qts) to work.
|
// this version is required for Quicktime codecs (.qtx/.qts) to work.
|
||||||
// (they assume some pointers at FS: segment)
|
// (they assume some pointers at FS: segment)
|
||||||
|
|
||||||
extern void* fs_seg;
|
|
||||||
|
|
||||||
//static int tls_count;
|
//static int tls_count;
|
||||||
static int tls_use_map[64];
|
static int tls_use_map[64];
|
||||||
static int WINAPI expTlsAlloc(void)
|
static int WINAPI expTlsAlloc(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user