pthreads and Windows
D. R. Evans
N7DR____arrl.net
Fri Sep 14 18:05:07 CEST 2001
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It looks like there is a minor error in the #ifdefs in agent++.h and snmp++
config.h.
They both contain the following sequence:
#ifndef _THREADS
#define _WIN32THREADS
#define VC_EXTRALEAN
#define _THREADS
#endif
The comments in agent++.h suggest that this should build using pthreads as-is.
However, in order to get it to build properly here, I had to change the
_WIN32THREADS line to:
#undef _WIN32THREADS
in both the agent++.h and config.h files.
Doc Evans
- ----------------------------------------------------------
D.R. Evans N7DR / G4AMJ N7DR at arrl.net
A dead lawyer in a Colorado ski resort and an Australian detective
who
doesn't play by the rules:
"All Or Nothing" is now available.
See http://www.sff.net/people/N7DR/drevans.htp for details.
- ----------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60
Comment: Key obtainable from servers: ID 0x362912B8
iQA/AwUBO6IqtWnXrLw2KRK4EQIzawCbBIwmvC8rIn44xqdsd9pvTA3ewrgAnR+n
wDCdhX4prk30N3qD0jkpKhQI
=rOcX
-----END PGP SIGNATURE-----
More information about the AGENTPP
mailing list