Skip to content

Commit 99bfdc4

Browse files
committed
Don't use ifndef
1 parent 6d8c63c commit 99bfdc4

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

common/cpp/react/renderer/components/rnscreens/RNSFormSheetComponentDescriptor.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#pragma once
22

3-
#ifndef ANDROID
3+
#if !defined(ANDROID)
44

55
#include <react/debug/react_native_assert.h>
66
#include <react/renderer/core/ConcreteComponentDescriptor.h>
@@ -38,4 +38,4 @@ class RNSFormSheetComponentDescriptor final
3838

3939
} // namespace facebook::react
4040

41-
#endif // ANDROID
41+
#endif // !defined(ANDROID)

common/cpp/react/renderer/components/rnscreens/RNSFormSheetShadowNode.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "RNSFormSheetShadowNode.h"
22

3-
#ifndef ANDROID
3+
#if !defined(ANDROID)
44

55
namespace facebook::react {
66

@@ -13,4 +13,4 @@ Point RNSFormSheetShadowNode::getContentOriginOffset(
1313

1414
} // namespace facebook::react
1515

16-
#endif // ANDROID
16+
#endif // !defined(ANDROID)

common/cpp/react/renderer/components/rnscreens/RNSFormSheetShadowNode.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#pragma once
22

3-
#ifndef ANDROID
3+
#if !defined(ANDROID)
44

55
#include <jsi/jsi.h>
66
#include <react/renderer/components/rnscreens/EventEmitters.h>
@@ -25,4 +25,4 @@ class JSI_EXPORT RNSFormSheetShadowNode final : public ConcreteViewShadowNode<
2525

2626
} // namespace facebook::react
2727

28-
#endif // ANDROID
28+
#endif // !defined(ANDROID)

common/cpp/react/renderer/components/rnscreens/RNSFormSheetState.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#pragma once
22

3-
#ifndef ANDROID
3+
#if !defined(ANDROID)
44

55
#include <react/renderer/graphics/Geometry.h>
66

@@ -20,4 +20,4 @@ class JSI_EXPORT RNSFormSheetState final {
2020

2121
} // namespace facebook::react
2222

23-
#endif // ANDROID
23+
#endif // !defined(ANDROID)

0 commit comments

Comments
 (0)