roken: unbreak Windows build
This commit is contained in:
@@ -36,15 +36,7 @@
|
|||||||
#ifndef __PARSE_BYTES_H__
|
#ifndef __PARSE_BYTES_H__
|
||||||
#define __PARSE_BYTES_H__
|
#define __PARSE_BYTES_H__
|
||||||
|
|
||||||
#ifndef ROKEN_LIB_FUNCTION
|
#include <roken.h>
|
||||||
#ifdef _WIN32
|
|
||||||
#define ROKEN_LIB_FUNCTION
|
|
||||||
#define ROKEN_LIB_CALL __cdecl
|
|
||||||
#else
|
|
||||||
#define ROKEN_LIB_FUNCTION
|
|
||||||
#define ROKEN_LIB_CALL
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
ROKEN_LIB_FUNCTION ssize_t ROKEN_LIB_CALL
|
ROKEN_LIB_FUNCTION ssize_t ROKEN_LIB_CALL
|
||||||
parse_bytes(const char *s, const char *def_unit);
|
parse_bytes(const char *s, const char *def_unit);
|
||||||
|
@@ -36,15 +36,7 @@
|
|||||||
#ifndef __PARSE_TIME_H__
|
#ifndef __PARSE_TIME_H__
|
||||||
#define __PARSE_TIME_H__
|
#define __PARSE_TIME_H__
|
||||||
|
|
||||||
#ifndef ROKEN_LIB_FUNCTION
|
#include <roken.h>
|
||||||
#ifdef _WIN32
|
|
||||||
#define ROKEN_LIB_FUNCTION
|
|
||||||
#define ROKEN_LIB_CALL __cdecl
|
|
||||||
#else
|
|
||||||
#define ROKEN_LIB_FUNCTION
|
|
||||||
#define ROKEN_LIB_CALL
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
ROKEN_LIB_FUNCTION int64_t ROKEN_LIB_CALL
|
ROKEN_LIB_FUNCTION int64_t ROKEN_LIB_CALL
|
||||||
parse_time (const char *s, const char *def_unit);
|
parse_time (const char *s, const char *def_unit);
|
||||||
|
Reference in New Issue
Block a user