Fix the OFFSET macro
authorIan Lynagh <ian@well-typed.com>
Tue, 13 Nov 2012 16:20:17 +0000 (16:20 +0000)
committerIan Lynagh <ian@well-typed.com>
Tue, 13 Nov 2012 16:20:17 +0000 (16:20 +0000)
commit53e9916fb7908e79754f0f5c65008439bf53227e
tree94ebe2e2e34b2f67b918b327ec104248c64e8d55
parent4aa921e72d716ddeeb3ddf8d833996980395a77e
Fix the OFFSET macro

When offsetof is defined, we use that. This avoids "variably
modified at file scope" warnings/errors with recent gccs.
utils/deriveConstants/DeriveConstants.hs