Skip to content

Commit

Permalink
fix: 系统库文件如 sqlite3.h 应使用尖括号导入,而不是引号
Browse files Browse the repository at this point in the history
  • Loading branch information
YoloMao committed Aug 12, 2022
1 parent 7ca2831 commit a66aea8
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Services/Database/FMDB/GrowingFMDatabase.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
// limitations under the License.

#import <Foundation/Foundation.h>
#import "sqlite3.h"
#import <sqlite3.h>
#import "Services/Database/FMDB/GrowingFMResultSet.h"
#import "Services/Database/FMDB/GrowingFMDatabasePool.h"

Expand Down
2 changes: 1 addition & 1 deletion Services/Database/FMDB/GrowingFMDatabase.m
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
// limitations under the License.

#import "Services/Database/FMDB/GrowingFMDatabase.h"
#import "unistd.h"
#import <unistd.h>
#import <objc/runtime.h>

@interface GrowingFMDatabase ()
Expand Down
2 changes: 1 addition & 1 deletion Services/Database/FMDB/GrowingFMDatabaseAdditions.m
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

#import "Services/Database/FMDB/GrowingFMDatabase.h"
#import "Services/Database/FMDB/GrowingFMDatabaseAdditions.h"
#import "TargetConditionals.h"
#import <TargetConditionals.h>

@interface GrowingFMDatabase (PrivateStuff)
- (GrowingFMResultSet *)executeQuery:(NSString *)sql withArgumentsInArray:(NSArray*)arrayArgs orDictionary:(NSDictionary *)dictionaryArgs orVAList:(va_list)args;
Expand Down
2 changes: 1 addition & 1 deletion Services/Database/FMDB/GrowingFMDatabasePool.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
// limitations under the License.

#import <Foundation/Foundation.h>
#import "sqlite3.h"
#import <sqlite3.h>

@class GrowingFMDatabase;

Expand Down
2 changes: 1 addition & 1 deletion Services/Database/FMDB/GrowingFMDatabaseQueue.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
// limitations under the License.

#import <Foundation/Foundation.h>
#import "sqlite3.h"
#import <sqlite3.h>

@class GrowingFMDatabase;

Expand Down
2 changes: 1 addition & 1 deletion Services/Database/FMDB/GrowingFMResultSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
// limitations under the License.

#import <Foundation/Foundation.h>
#import "sqlite3.h"
#import <sqlite3.h>

#ifndef __has_feature // Optional.
#define __has_feature(x) 0 // Compatibility with non-clang compilers.
Expand Down
2 changes: 1 addition & 1 deletion Services/Database/FMDB/GrowingFMResultSet.m
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

#import "Services/Database/FMDB/GrowingFMResultSet.h"
#import "Services/Database/FMDB/GrowingFMDatabase.h"
#import "unistd.h"
#import <unistd.h>

@interface GrowingFMDatabase ()
- (void)resultSetDidClose:(GrowingFMResultSet *)resultSet;
Expand Down

0 comments on commit a66aea8

Please sign in to comment.