[Aggregator] Rename TIMESTAMP compilation option
The TIMESTAMP compilation-time option is now USE_TIMESTAMP.
This commit is contained in:
parent
10a47246f4
commit
3331a6685f
|
@ -24,7 +24,7 @@ CFLAGS=-O2 -Wall -Wextra -Wstrict-prototypes -O -I.
|
|||
DEPFLAGS=-MMD
|
||||
XCFLAGS=$(CFLAGS) $(DEPFLAGS) $(WARN) $(HEADERS)
|
||||
PICFLAG=-fPIC
|
||||
OWLPSFLAGS = -D TIMESTAMP
|
||||
OWLPSFLAGS = -D USE_TIMESTAMP
|
||||
LIBS = -pthread -lconfuse -L../../libowlps -lowlps
|
||||
LDFLAGS = $(LIBS) $(OWLPSFLAGS)
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#define DEBUG
|
||||
|
||||
// Uncomment to output the timestamp on each line of the output file:
|
||||
//#define TIMESTAMP
|
||||
//#define USE_TIMESTAMP
|
||||
|
||||
|
||||
/* Arguments & program configuration */
|
||||
|
|
|
@ -446,11 +446,11 @@ void* monitor_couples()
|
|||
putchar('\n') ;
|
||||
#endif // DEBUG
|
||||
|
||||
#ifdef TIMESTAMP
|
||||
#ifdef USE_TIMESTAMP
|
||||
// Print request mobile timestamp to the output file
|
||||
fprintf(fd, "%llu;",
|
||||
timeval_to_ms(couple_ptr->request_time)) ;
|
||||
#endif // TIMESTAMP
|
||||
#endif // USE_TIMESTAMP
|
||||
|
||||
// Print mobile MAC address to the output file
|
||||
mac_string =
|
||||
|
|
Loading…
Reference in New Issue