mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Ensure header guards enclose entire header.
(cherry picked from commit f6ad1954f7)
This commit is contained in:
committed by
Rémi Verschelde
parent
ee97e45a69
commit
c6cccdf0c6
@@ -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