Ensure header guards enclose entire header.
This commit is contained in:
@ -28,11 +28,11 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifdef WEBRTC_GDNATIVE_ENABLED
|
||||
|
||||
#ifndef WEBRTC_DATA_CHANNEL_GDNATIVE_H
|
||||
#define WEBRTC_DATA_CHANNEL_GDNATIVE_H
|
||||
|
||||
#ifdef WEBRTC_GDNATIVE_ENABLED
|
||||
|
||||
#include "modules/gdnative/include/net/godot_net.h"
|
||||
#include "webrtc_data_channel.h"
|
||||
|
||||
@ -75,6 +75,6 @@ public:
|
||||
~WebRTCDataChannelGDNative();
|
||||
};
|
||||
|
||||
#endif // WEBRTC_DATA_CHANNEL_GDNATIVE_H
|
||||
|
||||
#endif // WEBRTC_GDNATIVE_ENABLED
|
||||
|
||||
#endif // WEBRTC_DATA_CHANNEL_GDNATIVE_H
|
||||
|
||||
@ -28,11 +28,11 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifdef WEBRTC_GDNATIVE_ENABLED
|
||||
|
||||
#ifndef WEBRTC_PEER_CONNECTION_GDNATIVE_H
|
||||
#define WEBRTC_PEER_CONNECTION_GDNATIVE_H
|
||||
|
||||
#ifdef WEBRTC_GDNATIVE_ENABLED
|
||||
|
||||
#include "modules/gdnative/include/net/godot_net.h"
|
||||
#include "webrtc_peer_connection.h"
|
||||
|
||||
@ -68,6 +68,6 @@ public:
|
||||
~WebRTCPeerConnectionGDNative();
|
||||
};
|
||||
|
||||
#endif // WEBRTC_PEER_CONNECTION_GDNATIVE_H
|
||||
|
||||
#endif // WEBRTC_GDNATIVE_ENABLED
|
||||
|
||||
#endif // WEBRTC_PEER_CONNECTION_GDNATIVE_H
|
||||
|
||||
Reference in New Issue
Block a user