Common: Move header guards over to pragma once

Also replaced C headers with the C++ equivalent ones
This commit is contained in:
Lioncash 2014-08-17 13:45:50 -04:00
parent d1c2b76ad1
commit 90e994471a
33 changed files with 41 additions and 146 deletions

View file

@ -2,8 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#ifndef _COMMONFUNCS_H_
#define _COMMONFUNCS_H_
#pragma once
#ifdef _WIN32
#define SLEEP(x) Sleep(x)
@ -233,5 +232,3 @@ inline T FromBigEndian(T data)
}
} // Namespace Common
#endif // _COMMONFUNCS_H_