samettonyali / gross

Automatically exported from code.google.com/p/gross
Other
1 stars 0 forks source link

lock_t conficts on some platforms #74

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
At least one Solaris 10 server reports:

"../include/common.h", line 280: identifier redeclared: lock_t
        current : struct lock_s {struct _pthread_mutex {..} mx, struct _pthread_cond {..} cv}
        previous: unsigned char : "/usr/include/sys/machtypes.h", line 37
"grosscheck.c", line 266: cannot recover from previous errors

Original issue reported on code.google.com by eino.tuominen@gmail.com on 12 Sep 2008 at 7:52

GoogleCodeExporter commented 8 years ago
The bug was only in trunk due to code cleaning changes. lock_t renamed to 
gross_lock_t

Fixed.

Original comment by eino.tuominen@gmail.com on 12 Sep 2008 at 11:52