aboutsummaryrefslogtreecommitdiff
path: root/src/platform
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform')
-rw-r--r--src/platform/posix/posix_impl.h5
-rw-r--r--src/platform/windows/win_impl.h6
2 files changed, 8 insertions, 3 deletions
diff --git a/src/platform/posix/posix_impl.h b/src/platform/posix/posix_impl.h
index 0f238e45..bf79a449 100644
--- a/src/platform/posix/posix_impl.h
+++ b/src/platform/posix/posix_impl.h
@@ -1,5 +1,6 @@
//
-// Copyright 2017 Garrett D'Amore <garrett@damore.org>
+// Copyright 2018 Staysail Systems, Inc. <info@staysail.tech>
+// Copyright 2018 Capitar IT Group BV <info@capitar.com>
//
// This software is supplied under the terms of the MIT License, a
// copy of which should be located in the distribution where this
@@ -75,6 +76,8 @@ struct nni_plat_thr {
void *arg;
};
+#define NNG_PLATFORM_DIR_SEP "/"
+
#endif
extern int nni_posix_pollq_sysinit(void);
diff --git a/src/platform/windows/win_impl.h b/src/platform/windows/win_impl.h
index 236feb31..0c22c240 100644
--- a/src/platform/windows/win_impl.h
+++ b/src/platform/windows/win_impl.h
@@ -1,6 +1,6 @@
//
-// Copyright 2017 Garrett D'Amore <garrett@damore.org>
-// Copyright 2017 Capitar IT Group BV <info@capitar.com>
+// Copyright 2018 Staysail Systems, Inc. <info@staysail.tech>
+// Copyright 2018 Capitar IT Group BV <info@capitar.com>
//
// This software is supplied under the terms of the MIT License, a
// copy of which should be located in the distribution where this
@@ -104,6 +104,8 @@ extern void nni_win_resolv_sysfini(void);
extern int nni_win_sockaddr2nn(nni_sockaddr *, const SOCKADDR_STORAGE *);
extern int nni_win_nn2sockaddr(SOCKADDR_STORAGE *, const nni_sockaddr *);
+#define NNG_PLATFORM_DIR_SEP "\\"
+
#endif // NNG_PLATFORM_WINDOWS
#endif // PLATFORM_WIN_IMPL_H