Commit e84546be authored by Jack Andersen's avatar Jack Andersen

Convert to pragma once

parent 37461f21
#ifndef __KABU_ASYNCIO_HPP__
#define __KABU_ASYNCIO_HPP__
#pragma once
#ifndef _WIN32
#include <aio.h>
......@@ -49,4 +48,3 @@ public:
}
#endif // __KABU_ASYNCIO_HPP__
#ifndef __KABU_BLOCKALLOCATIONATABLE_HPP__
#define __KABU_BLOCKALLOCATIONATABLE_HPP__
#pragma once
#include "Constants.hpp"
......@@ -39,4 +38,3 @@ public:
uint16_t numFreeBlocks() const { return m_freeBlocks; }
};
}
#endif // __KABU_BLOCKALLOCATIONATABLE_HPP__
#ifndef __KABU_CARD_HPP__
#define __KABU_CARD_HPP__
#pragma once
#include "BlockAllocationTable.hpp"
#include "Directory.hpp"
......@@ -438,4 +437,3 @@ public:
};
}
#endif // __CARD_HPP__
#ifndef __KABU_CONSTANTS_HPP__
#define __KABU_CONSTANTS_HPP__
#pragma once
#include <stdint.h>
#include "Util.hpp"
......@@ -90,4 +89,3 @@ enum class EEncoding : uint16_t
};
}
#endif // __KABU_CONSTANTS_HPP__
#ifndef __KABU_DIRECTORY_HPP__
#define __KABU_DIRECTORY_HPP__
#pragma once
#include "File.hpp"
......@@ -41,4 +40,3 @@ public:
};
}
#endif // __KABU_DIRECTORY_HPP__
#ifndef __KABU_FILE_HPP__
#define __KABU_FILE_HPP__
#pragma once
#include "Constants.hpp"
......@@ -44,4 +43,3 @@ public:
};
}
#endif // __KABU_FILE_HPP__
#ifndef SRAM_HPP
#define SRAM_HPP
#pragma once
#include <stdint.h>
......@@ -73,4 +72,3 @@ union SRAM
extern const SRAM g_SRAM;
}
#endif // SRAM_HPP
#ifndef __KABU_UTIL_HPP__
#define __KABU_UTIL_HPP__
#pragma once
#ifndef _WIN32
#include <cstdlib>
......@@ -306,4 +305,3 @@ enum class ECardResult
};
}
#endif // __KABU_UTIL_HPP__
#ifndef __KABU_WIDESTRINGCONVERT_HPP__
#define __KABU_WIDESTRINGCONVERT_HPP__
#pragma once
#include <string>
......@@ -9,4 +8,3 @@ std::string WideToUTF8(std::wstring_view src);
std::wstring UTF8ToWide(std::string_view src);
}
#endif // __KABU_WIDESTRINGCONVERT_HPP__
#ifndef _HECL_WINSUPPORT_H_
#define _HECL_WINSUPPORT_H_
#pragma once
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
......@@ -11,4 +10,3 @@
void* memmem(const void *haystack, size_t hlen, const void *needle, size_t nlen);
#endif // _HECL_WINSUPPORT_H_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment