aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-08-08 17:28:41 +0800
committerchai <chaifix@163.com>2018-08-08 17:28:41 +0800
commitaa7549126a4e821cecf75fbc32a433a7f8122d2b (patch)
tree1b1eaa32207384564be7e8c62b5bd389722cb809 /src/main.cpp
parent98efbbdb917a5fd854e288d4a74eb18d88fed939 (diff)
+network
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 51b100f..bd1c1af 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -33,7 +33,7 @@ int main(int argc, char* argv[])
/**
* jin._dir is the folder of jin binary executable
*/
-#define BUFFER_SIZE 512
+ const int BUFFER_SIZE = 512;
char buffer[BUFFER_SIZE];
#ifdef _WIN32
_getcwd(buffer, BUFFER_SIZE);