chore(build): improve include paths

This commit is contained in:
fallenoak 2020-11-01 17:45:45 -06:00
parent 3d5794ed7c
commit 118d20c49d
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
30 changed files with 54 additions and 55 deletions

View file

@ -1,4 +1,4 @@
#include "thread/SCritSect.hpp"
#include "storm/thread/SCritSect.hpp"
void SCritSect::Enter() {
#if defined(PLATFORM_WIN)

View file

@ -1,4 +1,4 @@
#include "thread/SEvent.hpp"
#include "storm/thread/SEvent.hpp"
SEvent::SEvent(int32_t manualReset, int32_t initialValue)
: SSyncObject() {

View file

@ -1,7 +1,7 @@
#ifndef STORM_THREAD_S_EVENT_HPP
#define STORM_THREAD_S_EVENT_HPP
#include "thread/SSyncObject.hpp"
#include "storm/thread/SSyncObject.hpp"
#include <cstdint>
class SEvent : public SSyncObject {

View file

@ -1,4 +1,4 @@
#include "thread/SSyncObject.hpp"
#include "storm/thread/SSyncObject.hpp"
#if defined(PLATFORM_MAC) || defined(PLATFORM_LINUX)
#include <cerrno>

View file

@ -1,5 +1,5 @@
#include "thread/SThread.hpp"
#include "Thread.hpp"
#include "storm/thread/SThread.hpp"
#include "storm/Thread.hpp"
int32_t SThread::Create(uint32_t (*threadProc)(void*), void* param, SThread& thread, char* threadName, uint32_t a5) {
#if defined(PLATFORM_WIN)

View file

@ -1,7 +1,7 @@
#ifndef STORM_THREAD_S_THREAD_HPP
#define STORM_THREAD_S_THREAD_HPP
#include "thread/SSyncObject.hpp"
#include "storm/thread/SSyncObject.hpp"
#include <cstdint>
class SThread : public SSyncObject {

View file

@ -1,4 +1,4 @@
#include "thread/S_Thread.hpp"
#include "storm/thread/S_Thread.hpp"
int32_t S_Thread::s_numthreads;

View file

@ -1,7 +1,7 @@
#ifndef STORM_THREAD_S__THREAD_HPP
#define STORM_THREAD_S__THREAD_HPP
#include "thread/SThread.hpp"
#include "storm/thread/SThread.hpp"
#include <cstdint>
typedef SThread SyncObjectData;

View file

@ -1,5 +1,5 @@
#include "thread/mac/SThreadRunner.h"
#include "thread/S_Thread.hpp"
#include "storm/thread/mac/SThreadRunner.h"
#include "storm/thread/S_Thread.hpp"
@implementation SThreadRunner

View file

@ -1,5 +1,5 @@
#include "thread/S_Thread.hpp"
#include "Memory.hpp"
#include "storm/thread/S_Thread.hpp"
#include "storm/Memory.hpp"
uint32_t S_Thread::s_SLaunchThread(void* threadParam) {
// TODO

View file

@ -1,8 +1,8 @@
#include "Thread.hpp"
#include "Memory.hpp"
#include "String.hpp"
#include "thread/S_Thread.hpp"
#include "thread/mac/SThreadRunner.h"
#include "storm/Thread.hpp"
#include "storm/Memory.hpp"
#include "storm/String.hpp"
#include "storm/thread/S_Thread.hpp"
#include "storm/thread/mac/SThreadRunner.h"
#include <new>
int32_t SCreateThread(uint32_t (*threadProc)(void*), void* threadParam, void* a3, SThread* syncObject, const char* threadName) {