mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 05:32:57 +00:00
- Move from using include guards to pragma once.
- Whilst this is non-standard and potentially makes the code less portable, it's supported by both gcc and msvc and should bringg increased compilation speed due to its optimized behaviour (doesn't need to invoke the preprocessor) - Patch by Amine Khaldi [amine.khaldi@reactos.org] svn path=/trunk/; revision=45685
This commit is contained in:
parent
e9e9e2bd0e
commit
c5b25b8e9b
656 changed files with 725 additions and 2796 deletions
|
@ -20,8 +20,7 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifndef __PERFDATA_H
|
||||
#define __PERFDATA_H
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -106,5 +105,3 @@ ULONG PerfDataGetTotalThreadCount(void);
|
|||
#ifdef __cplusplus
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif /* __PERFDATA_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue