Luke Dashjr
|
b3e61ac837
Bugfix: Since at least one of unix (or __APPLE__) or WIN32 is required by util.h, make sure unix is defined if WIN32 is not
|
12 years ago |
Luke Dashjr
|
adc85d0b5c
Use bfg_strerror where it is already needed (for thread-safety)
|
12 years ago |
Luke Dashjr
|
060447e522
Merge commit '04e0ee2' into cg_merges_20130602
|
12 years ago |
Luke Dashjr
|
daf67462aa
Add missing copyright sections to files that may need them
|
12 years ago |
Luke Dashjr
|
f4c5f2db67
Implement pthread_testcancel replacement for BIONIC
|
12 years ago |
Luke Dashjr
|
3365d444bf
Merge commit '564fd36' into cg_merges_20130524b
|
12 years ago |
Luke Dashjr
|
9fb8b34e4e
Use has_pth flag instead of trying to mess with pthread internals
|
12 years ago |
Luke Dashjr
|
e995bc55cc
configure: Explicitly check for nanosleep
|
12 years ago |
Con Kolivas
|
564fd36c8e
Use cgtime in compat.h
|
12 years ago |
James Z.M. Gao
|
c9ae715019
Compile CPU mining for win32 and win64
|
13 years ago |
Luke Dashjr
|
6eb20f8340
If pthread_cancel is missing (Bionic/Android), emulate it using pthread_kill and pthread_exit
|
13 years ago |
Luke Dashjr
|
1ebe1ef875
Bugfix: Some versions of MingW define localtime_r, but don't handle the timeval.tv_sec case that we use; so undef any preexisting one and use our own
|
13 years ago |
Luke Dashjr
|
2968168e90
Use localtime_r instead of localtime, including a Windows implementation that handles Win64's broken struct timeval.tv_sec
|
13 years ago |
Luke Dashjr
|
62dff9a82f
Ensure winsock2.h is always included before windows.h
|
13 years ago |
Luke Dashjr
|
ee92f7c69a
Bugfix: Remove dependencies of compat.h on miner.h for Windows (moves timersub/timeradd to compat.h where it belongs)
|
13 years ago |
Luke Dashjr
|
1c6ffa310c
Provide a simple/dummy libusb_error_name when it is missing (libusb < 1.0.9)
|
13 years ago |
Luke Dashjr
|
00d65da7ae
Merge commit '77d2a20' into cgmerges
|
13 years ago |
Kano
|
37f8a1f775
reduce windows compile warnings
|
13 years ago |
Luke Dashjr
|
eaaa924e5d
Merge remote-tracking branch 'kanoi/master' into bfgminer
|
13 years ago |
Kano
|
854a80ff03
api.c poolpriority changes
|
13 years ago |
Luke Dashjr
|
8084bfe0ca
Merge branch 'rpc_poolpriority' into bfgminer
|
13 years ago |
Luke Dashjr
|
7418f5e211
strtok_ts: Thread-safe strtok that work on POSIX or Windows
|
13 years ago |
Luke Dashjr
|
7991e25f15
Merge branch 'bugfix_winsleep' into bfgminer
|
13 years ago |
Luke Dashjr
|
68111323b3
Bugfix: Make our Windows nanosleep/sleep replacements standards-compliant (which fixes nmsleep) and include compat.h for bitforce (for sleep)
|
13 years ago |
Luke Dashjr
|
264c10cd51
Merge branch 'idleprio' into bfgminer
|
13 years ago |
pooler
|
7b5918b76d
Set CPU mining idle priority on Windows
|
14 years ago |
Con Kolivas
|
07c2ee5317
Put win32 equivalents of nanosleep and sleep into compat.h fixing sleep() for adl.c.
|
14 years ago |
Ycros
|
31d98cf167
Fix suseconds_t for OSX.
|
14 years ago |
Ycros
|
8ec2dcc9b9
Mingw suseconds_t and sigaction fixes.
|
14 years ago |
Ycros
|
ec8319176e
Build on windows using mingw32.
|
14 years ago |