Browse Source

Define pim_gettime() when PIM_GETTIME_USE_GETTIMEOFDAY is not available.

Everton Marques 8 years ago
parent
commit
3de4ae9058
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pimd/pim_time.c

+ 1 - 1
pimd/pim_time.c

@@ -30,7 +30,7 @@
 
 #include "pim_time.h"
 
-#if 0
+#ifndef PIM_GETTIME_USE_GETTIMEOFDAY
 static int pim_gettime(int clk_id, struct timeval *tv)
 {
   struct timespec ts;