summaryrefslogtreecommitdiff
path: root/uisimulator/win32/plugin-win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/win32/plugin-win32.h')
-rw-r--r--uisimulator/win32/plugin-win32.h48
1 files changed, 0 insertions, 48 deletions
diff --git a/uisimulator/win32/plugin-win32.h b/uisimulator/win32/plugin-win32.h
deleted file mode 100644
index dd1c79080b..0000000000
--- a/uisimulator/win32/plugin-win32.h
+++ /dev/null
@@ -1,48 +0,0 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2002 Björn Stenberg
11 *
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19
20#ifndef _PLUGIN_WIN32_H_
21#define _PLUGIN_WIN32_H_
22
23#define BOOL win32_BOOL /* Avoid conflicts with BOOL/INT defined as */
24#define INT win32_INT /* enum values in settings.h */
25
26#include <windows.h>
27#include "plugin.h"
28#include "file.h"
29
30#define RTLD_NOW 0
31
32#undef filesize
33#define filesize win32_filesize
34
35#undef ftruncate
36#define ftruncate NULL
37
38typedef enum plugin_status (*plugin_fn)(struct plugin_api* api, void* param);
39
40#define dlopen(_x_, _y_) LoadLibrary(_x_)
41#define dlsym(_x_, _y_) (plugin_fn)GetProcAddress(_x_, _y_)
42#define dlclose(_x_) FreeLibrary(_x_)
43#define dlerror() "Unknown"
44
45int strcasecmp (const char *a, const char *b);
46int strncasecmp (const char *a, const char *b, size_t n);
47
48#endif