summaryrefslogtreecommitdiff
path: root/src/h-config.h
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-16 18:51:06 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-16 18:54:55 +0100
commit4d351b8d07c25415d5848e9486eb5cb52f02d72e (patch)
tree0b8045630e146eaa870280e2d3e7f13e50499ad2 /src/h-config.h
parentff252acf7f2f38e33017e82881c95825b54c7cee (diff)
Replace usleep with C++11 this_thread::sleep_for()
Also remove TERM_XTRA_DELAY. The terminal abstraction should not be used for providing general platform independence. As a side effect this reintroduces support for "delay" on SDL, not sure if that's a good idea or not.
Diffstat (limited to 'src/h-config.h')
-rw-r--r--src/h-config.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/h-config.h b/src/h-config.h
index aa323e72..fc2721ef 100644
--- a/src/h-config.h
+++ b/src/h-config.h
@@ -104,14 +104,6 @@ extern "C" {
#endif
-/*
- * OPTION: Define "HAS_USLEEP" only if "usleep()" exists.
- * Note that this is only relevant for "SET_UID" machines
- */
-#ifdef SET_UID
-# define HAS_USLEEP
-#endif
-
#ifdef __cplusplus
} // extern "C"
#endif