diff options
author | Werner Koch <[email protected]> | 2010-11-03 09:56:27 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2010-11-03 09:56:27 +0000 |
commit | 21eb91ae3a8578b678d71083f4513de67b2e4e0f (patch) | |
tree | f4a1f78ee8611b006c726f829283ac4ec7001f80 /contrib | |
parent | Might now build for CE using MSC. (diff) | |
download | gpgme-21eb91ae3a8578b678d71083f4513de67b2e4e0f.tar.gz gpgme-21eb91ae3a8578b678d71083f4513de67b2e4e0f.zip |
More include guards.
Provide access for Wince.
Install dummy sehmap.h
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ChangeLog | 4 | ||||
-rwxr-xr-x | contrib/conf-w32ce-msc/build.mk | 10 |
2 files changed, 12 insertions, 2 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 406d1077..ccee4948 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +2010-11-03 Werner Koch <[email protected]> + + * conf-w32ce-msc/build.mk (copy-built-source): Create dummy sehmap.h. + 2010-11-01 Werner Koch <[email protected]> * conf-w32ce-msc/config.h: New. diff --git a/contrib/conf-w32ce-msc/build.mk b/contrib/conf-w32ce-msc/build.mk index 4a77a99a..70cae832 100755 --- a/contrib/conf-w32ce-msc/build.mk +++ b/contrib/conf-w32ce-msc/build.mk @@ -219,15 +219,21 @@ copy-static-source: cd ../contrib/conf-w32ce-msc ; \ cp -t $(targetsrc)/gpgme/src $(conf_sources) - +# We create a dummy sehmap.h which will be included first due to -I. . +# For some reasons sehmap.h is included by MSC for WindowsCE and +# introduces a macro "leave" which conflicts of our use of "leave" for +# a label (leave and enter are pretty common names for pro- and epilog +# code). copy-built-source: @if [ ! -f ./gpgme.h ]; then \ echo "Please build using ./autogen.sh --build-w32ce first"; \ exit 1; \ fi cp -t $(targetsrc)/gpgme/src $(built_sources) + echo '/* Dummy replacement for useless header. */' \ + > $(targetsrc)/gpgme/src/sehmap.h -copy-source: copy-static-source copy-built-source +copy-source: copy-static-source copy-built-source .c.obj: |