mirror of
https://github.com/Karaka-Management/cOMS.git
synced 2026-01-11 03:08:41 +00:00
28 lines
555 B
C
28 lines
555 B
C
/**
|
|
* Jingga
|
|
*
|
|
* @copyright Jingga
|
|
* @license OMS License 2.0
|
|
* @version 1.0.0
|
|
* @link https://jingga.app
|
|
*/
|
|
#ifndef TOS_COMPILER_MSVC_COMPILER_UTILS_H
|
|
#define TOS_COMPILER_MSVC_COMPILER_UTILS_H
|
|
|
|
#include "../../utils/TestUtils.h"
|
|
#include <basetsd.h>
|
|
|
|
#define PACKED_STRUCT __pragma(pack(push, 1))
|
|
#define UNPACKED_STRUCT __pragma(pack(pop))
|
|
|
|
#define EXPORT_LIB extern "C" __declspec(dllexport)
|
|
|
|
typedef SSIZE_T ssize_t;
|
|
|
|
#if DEBUG
|
|
#define UNREACHABLE() ASSERT_SIMPLE(false)
|
|
#else
|
|
#define UNREACHABLE() __assume(0)
|
|
#endif
|
|
|
|
#endif |