2019-02-13 14:10:36 -05:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <iostream>
|
|
|
|
#include <memory>
|
|
|
|
#include <vector>
|
|
|
|
#include <atomic>
|
2019-03-31 14:50:12 -04:00
|
|
|
#include <cstring>
|
2020-02-11 23:15:10 -05:00
|
|
|
#include <algorithm>
|
2019-02-13 14:10:36 -05:00
|
|
|
|
|
|
|
#include "UTF8Util.h"
|
|
|
|
|
|
|
|
using std::shared_ptr;
|
2019-03-10 17:39:14 -04:00
|
|
|
using std::unique_ptr;
|
2019-02-13 14:10:36 -05:00
|
|
|
using utf8::ifstream;
|
|
|
|
using utf8::ofstream;
|
2019-03-12 09:15:57 -04:00
|
|
|
using std::ostream;
|
|
|
|
using std::istream;
|
2019-02-13 14:10:36 -05:00
|
|
|
using std::string;
|
|
|
|
using std::vector;
|
|
|
|
using std::atomic;
|
2020-02-29 15:58:11 -05:00
|
|
|
using std::atomic_flag;
|
|
|
|
|
|
|
|
#ifndef __MINGW32__
|
2021-03-10 11:13:28 -05:00
|
|
|
#ifdef __clang__
|
2020-02-29 15:58:11 -05:00
|
|
|
#define __forceinline __attribute__((always_inline)) inline
|
2021-03-10 11:13:28 -05:00
|
|
|
#else
|
|
|
|
#ifdef __GNUC__
|
2020-02-29 15:58:11 -05:00
|
|
|
#define __forceinline __attribute__((always_inline)) inline
|
2021-03-10 11:13:28 -05:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|