mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Replace all include guard ifdefs with "#pragma once"
This commit is contained in:
@ -2,8 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#ifndef _FORCEFEEDBACKDEVICE_H_
|
||||
#define _FORCEFEEDBACKDEVICE_H_
|
||||
#pragma once
|
||||
|
||||
#include "../Device.h"
|
||||
|
||||
@ -65,5 +64,3 @@ private:
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -10,8 +10,7 @@
|
||||
* for these differences on OS X.
|
||||
*/
|
||||
|
||||
#ifndef _DIRECTINPUTADAPTER_H_
|
||||
#define _DIRECTINPUTADAPTER_H_
|
||||
#pragma once
|
||||
|
||||
typedef LONG* LPLONG; // Missing type for ForceFeedback.h
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
@ -217,8 +216,5 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -2,8 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#ifndef _DIRECTINPUTCONSTANTS_H_
|
||||
#define _DIRECTINPUTCONSTANTS_H_
|
||||
#pragma once
|
||||
|
||||
/*
|
||||
* Define all constants from ForceFeedbackConstants.h with DirectInput prefixes.
|
||||
@ -146,5 +145,3 @@
|
||||
#define DIGFFS_USERFFSWITCHON FFGFFS_USERFFSWITCHON
|
||||
#define DIGFFS_USERFFSWITCHOFF FFGFFS_USERFFSWITCHOFF
|
||||
#define DIGFFS_DEVICELOST FFGFFS_DEVICELOST
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user