mirror of
https://github.com/k4yt3x/video2x.git
synced 2024-12-28 23:19:11 +00:00
23 lines
332 B
C
23 lines
332 B
C
|
#ifndef CHAR_DEFS_H
|
||
|
#define CHAR_DEFS_H
|
||
|
|
||
|
#ifdef _WIN32
|
||
|
typedef wchar_t CharType;
|
||
|
#define STR(x) L##x
|
||
|
#else
|
||
|
typedef char CharType;
|
||
|
#define STR(x) x
|
||
|
#endif
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
#include <string>
|
||
|
|
||
|
#ifdef _WIN32
|
||
|
typedef std::wstring StringType;
|
||
|
#else
|
||
|
typedef std::string StringType;
|
||
|
#endif
|
||
|
|
||
|
#endif // __cplusplus
|
||
|
#endif // CHAR_DEFS_H
|