Browse Source

rpi has a time() function; don't try to call gettimeofday().

David Given 7 years ago
parent
commit
52eaf753b6
1 changed files with 5 additions and 0 deletions
  1. 5 0
      plat/rpi/include/ack/config.h

+ 5 - 0
plat/rpi/include/ack/config.h

@@ -8,4 +8,9 @@
 #ifndef _ACK_CONFIG_H
 #define _ACK_CONFIG_H
 
+/* We're providing a time() system call rather than wanting a wrapper around
+ * gettimeofday() in the libc. */
+ 
+#define ACKCONF_TIME_IS_A_SYSCALL
+
 #endif