Skip to content

Commit 936ce79

Browse files
committed
app: fix windows compile issue
1 parent 527cc5f commit 936ce79

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/src/kits/COSEnv/CESystemEnv.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// MIT License
1+
// MIT License
22
//
33
// Copyright (c) 2021~2024 [coder4869](https://github.com/coder4869)
44
//
@@ -26,7 +26,9 @@
2626
#include <fstream>
2727
#include <stdlib.h>
2828
#include <sys/types.h>
29-
#include <unistd.h>
29+
#if !defined(WIN)
30+
# include <unistd.h>
31+
#endif
3032

3133
#include <CUtils/logger.h>
3234
#include <CUtils/CUString.h>

0 commit comments

Comments
 (0)