1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fix header guards in modules:

- Add missing header guards to various modules' register_types.h
- Add header guard to basis_universal/texture_basisu.h.
- Ensure header guard encloses entire header in
  webrtc/webrtc_data_channel_js.h.
This commit is contained in:
Marcel Admiraal
2020-09-06 13:40:30 +01:00
parent ceed524936
commit 5a376cb061
7 changed files with 30 additions and 5 deletions

View File

@@ -28,11 +28,11 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifdef JAVASCRIPT_ENABLED
#ifndef WEBRTC_DATA_CHANNEL_JS_H
#define WEBRTC_DATA_CHANNEL_JS_H
#ifdef JAVASCRIPT_ENABLED
#include "webrtc_data_channel.h"
class WebRTCDataChannelJS : public WebRTCDataChannel {
@@ -88,6 +88,6 @@ public:
~WebRTCDataChannelJS();
};
#endif // WEBRTC_DATA_CHANNEL_JS_H
#endif // JAVASCRIPT_ENABLED
#endif // WEBRTC_DATA_CHANNEL_JS_H