This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Ada] HP-UX build failure - PR ada/51307


This change fixes an incorrect assumption in s-oscons-tmplt.c that
CLOCK_REALTIME is always a C preprocessor macro. On HP-UX, it is actually
an enumeration literal. The incorrect assumption caused a build failure
that platform.

NOT tested on pa hp-ux directly, so change done blindly.
Dave, can you please confirm whether the PR is fixed or not?

Tested on x86_64-pc-linux-gnu, committed on trunk

2011-12-05  Thomas Quinot  <quinot@adacore.com>

	PR ada/51307
	* s-oscons-tmplt.c: On HP-UX, CLOCK_REALTIME is an enum literal,
	not a macro.

Attachment: difs
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]