aboutsummaryrefslogtreecommitdiff
path: root/include/platform.h
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-05-27 22:08:01 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-05-27 22:08:01 +0000
commit951e72904174c875fc9ca7cef63ecb787ada7798 (patch)
treeeaeb2682d47a18b2e83687746453c3718fb49b93 /include/platform.h
parent6a0c588bf35d45f27feb0b18c7e97bb038df4d63 (diff)
downloadbusybox-w32-951e72904174c875fc9ca7cef63ecb787ada7798.tar.gz
busybox-w32-951e72904174c875fc9ca7cef63ecb787ada7798.tar.bz2
busybox-w32-951e72904174c875fc9ca7cef63ecb787ada7798.zip
Move portability stuff to platform.h, and clean up adjtimex.c a bit while
I'm in the area. git-svn-id: svn://busybox.net/trunk/busybox@15204 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include/platform.h')
-rw-r--r--include/platform.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h
index 23adc7b47..b77d815f8 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -210,4 +210,21 @@ typedef unsigned long long int uintmax_t;
210#else 210#else
211#define bb_setpgrp setpgrp() 211#define bb_setpgrp setpgrp()
212#endif 212#endif
213
214// I have no idea what platform this was for since aldot didn't say, but
215// it belongs here since Linux doesn't need it.
216
217#if !defined ADJ_OFFSET_SINGLESHOT && defined MOD_CLKA && defined MOD_OFFSET
218#define ADJ_OFFSET_SINGLESHOT (MOD_CLKA | MOD_OFFSET)
219#endif
220#if !defined ADJ_FREQUENCY && defined MOD_FREQUENCY
221#define ADJ_FREQUENCY MOD_FREQUENCY
222#endif
223#if !defined ADJ_TIMECONST && defined MOD_TIMECONST
224#define ADJ_TIMECONST MOD_TIMECONST
225#endif
226#if !defined ADJ_TICK && defined MOD_CLKB
227#define ADJ_TICK MOD_CLKB
228#endif
229
213#endif /* platform.h */ 230#endif /* platform.h */