Skip to content

Commit

Permalink
fix(ios): proper macro used for wrapping code (#11389)
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaysingh-axway authored and ssekhri committed Dec 11, 2019
1 parent 8cdac18 commit 5bb63c5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion iphone/Classes/TiNetworkSocketProxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#import <Foundation/Foundation.h>
#import <TitaniumKit/TiProxy.h>
#ifdef USE_TI_NETWORKSOCKET
#if defined(USE_TI_NETWORKSOCKET) || (defined(USE_TI_NETWORK))
typedef enum {
SOCKET_INITIALIZED = 1 << 0,
SOCKET_CONNECTED = 1 << 1,
Expand Down
2 changes: 1 addition & 1 deletion iphone/Classes/TiNetworkSocketProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#import "TiNetworkSocketTCPProxy.h"
#import <TitaniumKit/TiBase.h>

#ifdef USE_TI_NETWORKSOCKET
#if defined(USE_TI_NETWORKSOCKET) || (defined(USE_TI_NETWORK))
@implementation TiNetworkSocketProxy

- (id)createTCP:(id)args
Expand Down
2 changes: 1 addition & 1 deletion iphone/Classes/TiNetworkSocketTCPProxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// * Explicit synchronization (no more conditions, flags, or race conditons!)
// * Maybe even synchronize with the context itself (when TIMOB-6990 complete)

#ifdef USE_TI_NETWORKSOCKET
#if defined(USE_TI_NETWORKSOCKET) || (defined(USE_TI_NETWORK))
#import "AsyncSocket.h"
#import "TiNetworkSocketProxy.h"
#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion iphone/Classes/TiNetworkSocketTCPProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*/
#ifdef USE_TI_NETWORKSOCKET
#if defined(USE_TI_NETWORKSOCKET) || (defined(USE_TI_NETWORK))
#import "TiNetworkSocketTCPProxy.h"
#import "NetworkModule.h"
#import <TitaniumKit/TiBuffer.h>
Expand Down

0 comments on commit 5bb63c5

Please sign in to comment.