Common: Move header guards over to pragma once
Also replaced C headers with the C++ equivalent ones
This commit is contained in:
parent
d1c2b76ad1
commit
90e994471a
33 changed files with 41 additions and 146 deletions
|
@ -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_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue