mirror of
https://github.com/k4yt3x/video2x.git
synced 2024-12-29 16:09:10 +00:00
1d1792d10f
Signed-off-by: k4yt3x <i@k4yt3x.com>
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
|