summarylogtreecommitdiffstats
path: root/esee
blob: c63bbca37b6618e3c3da5fc211574a2dc847fff9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff --git a/modNeural.cpp.esee b/modNeural.cpp
index d4135b6..ba73036 100644
--- a/modNeural.cpp.esee
+++ b/modNeural.cpp
@@ -8,6 +8,19 @@ Author V.C.Mohan
 Aug 26, 2017, Aug 20, 2020
 ********************************************************************************/  
 
+#if defined(__unix__)
+static inline void linux_strcpy_s(char *dest, size_t destsz, const char *src){
+    strcpy(dest, src);
+}
+
+static inline void linux_strcat_s(char *dest, size_t destsz, const char *src){
+    strcat(dest, src);
+}
+
+#define strcpy_s linux_strcpy_s
+#define strcat_s linux_strcat_s
+#endif
+
 
 typedef struct {