Mercurial > MadButterfly
comparison src/timertool.c @ 186:530bb7728546 include_mb_test
Move header files to $(top_srcdir)/include/ and prefixed with 'mb_'.
This is the solution that I dicussed with FourDollars, last night.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Wed, 05 Nov 2008 15:24:01 +0800 |
parents | c7e5b8779bb5 |
children | 586e50f82c1f |
comparison
equal
deleted
inserted
replaced
185:c7e5b8779bb5 | 186:530bb7728546 |
---|---|
3 #ifdef __FreeBSD__ | 3 #ifdef __FreeBSD__ |
4 #include <machine/cpufunc.h> | 4 #include <machine/cpufunc.h> |
5 #include <sys/types.h> | 5 #include <sys/types.h> |
6 #include <sys/sysctl.h> | 6 #include <sys/sysctl.h> |
7 #endif | 7 #endif |
8 #include "mb/mb_timer.h" | 8 #include "mb_timer.h" |
9 | 9 |
10 | 10 |
11 #ifdef __FreeBSD__ | 11 #ifdef __FreeBSD__ |
12 void get_now(mb_timeval_t *tmo) { | 12 void get_now(mb_timeval_t *tmo) { |
13 struct timeval tv; | 13 struct timeval tv; |