summaryrefslogtreecommitdiff
path: root/nuttx/include/time.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-06-23 11:01:31 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-06-23 11:01:31 -0600
commitbc3108440bbec339f34e96849d7cd9de10bfd93d (patch)
tree4ce4dfe7edee08815ff5b4f7b6ebce19af8a066b /nuttx/include/time.h
parent8cf46d1f34452aca50d6aabe3d13bd12f54d5906 (diff)
downloadnuttx-bc3108440bbec339f34e96849d7cd9de10bfd93d.tar.gz
nuttx-bc3108440bbec339f34e96849d7cd9de10bfd93d.tar.bz2
nuttx-bc3108440bbec339f34e96849d7cd9de10bfd93d.zip
Fix conditional compilation for CLOCK_MONTONIC. From Manuel Stühn
Diffstat (limited to 'nuttx/include/time.h')
-rw-r--r--nuttx/include/time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/include/time.h b/nuttx/include/time.h
index e8853ef89..414e19995 100644
--- a/nuttx/include/time.h
+++ b/nuttx/include/time.h
@@ -99,7 +99,7 @@
* system time-of-day clock.
*/
-#ifdef CLOCK_MONOTONIC
+#ifdef CONFIG_CLOCK_MONOTONIC
# define CLOCK_MONOTONIC 2
#endif