git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
common/octeontx2: fix memory mapping API usage
[dpdk.git]
/
lib
/
librte_eal
/
windows
/
include
/
rte_os.h
diff --git
a/lib/librte_eal/windows/include/rte_os.h
b/lib/librte_eal/windows/include/rte_os.h
index
cb10d64
..
569ed92
100644
(file)
--- a/
lib/librte_eal/windows/include/rte_os.h
+++ b/
lib/librte_eal/windows/include/rte_os.h
@@
-25,6
+25,8
@@
extern "C" {
#define PATH_MAX _MAX_PATH
#endif
+#define sleep(x) Sleep(1000 * (x))
+
#define strerror_r(a, b, c) strerror_s(b, c, a)
/* strdup is deprecated in Microsoft libc and _strdup is preferred */