Fix LONG LONG detection.

pull/330/head
Lance Wallis 2 weeks ago
parent 48a3b248dc
commit 98bab6c182
No known key found for this signature in database
GPG Key ID: AE7847735CE374E4
  1. 1
      CMakeLists.txt
  2. 29
      test.xmlfd

@ -27,6 +27,7 @@ include(CheckTypeSize)
set(MXML_VERSION ${CMAKE_PROJECT_VERSION})
check_type_size("long long" SIZEOF_LONG_LONG)
if(SIZEOF_LONG_LONG EQUAL "8")
option(HAVE_LONG_LONG_INT "Enable LONG LONG" ON)
else()

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<group>
<option>
<keyword type="opaque">InputSlot</keyword>
<default type="opaque">Auto</default>
<text>Media Source</text>
<order type="real">10.42</order>
<choice>
<keyword type="opaque">Auto</keyword>
<text>Auto Tray Selection</text>
<code type="opaque"/>
</choice>
<choice>
<keyword type="opaque">Upper</keyword>
<text>Tray 1</text>
<code type="opaque">&lt;&lt;/MediaPosition 0&gt;&gt;setpagedevice</code>
</choice>
<choice>
<keyword type="opaque">Lower</keyword>
<text>Tray 2</text>
<code type="opaque">&lt;&lt;/MediaPosition 1&gt;&gt;setpagedevice</code>
</choice>
</option>
<integer>123</integer>
<string>Now is the time for all good men to come to the aid of their
country.</string>
<!-- this is a comment -->
<![CDATA[this is CDATA 0123456789ABCDEF]]>
</group>
Loading…
Cancel
Save