src/platform_windows.h
author vb
Wed, 25 Jun 2014 18:44:58 +0200
changeset 0 16f27efbef98
child 24 50887c6ab78f
permissions -rw-r--r--
initial commit
vb@0
     1
#pragma once
vb@0
     2
vb@0
     3
// Windows platform specifica
vb@0
     4
vb@0
     5
#define RTLD_LAZY 1
vb@0
     6
#ifndef strdup
vb@0
     7
#define strdup _strdup
vb@0
     8
#endif
vb@0
     9
#ifndef snprintf
vb@0
    10
#define snprintf _snprintf
vb@0
    11
#endif
vb@0
    12
#define _CRT_NONSTDC_NO_DEPRECATE
vb@0
    13
#define _CRT_SECURE_NO_WARNINGS
vb@0
    14
vb@0
    15
#ifdef __cplusplus
vb@0
    16
extern "C" {
vb@0
    17
#endif
vb@0
    18
vb@0
    19
void *dlopen(const char *filename, int flag);
vb@0
    20
int dlclose(void *handle);
vb@0
    21
void *dlsym(void *handle, const char *symbol);
vb@0
    22
vb@0
    23
const char *windoze_local_db(void);
vb@0
    24
const char *windoze_system_db(void);
vb@0
    25
const char *gpg_conf(void);
vb@0
    26
vb@0
    27
#ifdef __cplusplus
vb@0
    28
}
vb@0
    29
#endif