[omniORB] Cross platform headers (windows, linux)
matejkenda@volja.net
matejkenda@volja.net
Tue Jan 21 13:32:02 2003
------=_rE+2ToM)u)Slt6Q9N1.N6lerMQeL3s3Ge?hOe4ym7uCUUmuF/Ihy2ac+g'JR
Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: 8bit
Hi,
We started to use the same include directory (plain from the source tar file) on
Linux (ia32) and Windows. We found out that the header files can't be used "out
of the box" on Windows.
Please find attached the patch against the omniORB 4.0.0, which allows to use
the same omniORB4 header files on Windows and Linux (most probably other
platforms, too).
I don't know if that is the correct solution, but it works for us.
Best regards,
Matej Kenda
--
Matej Kenda, Lead Engineer
HERMES SoftLab
http://www.hermes-softlab.com
------=_rE+2ToM)u)Slt6Q9N1.N6lerMQeL3s3Ge?hOe4ym7uCUUmuF/Ihy2ac+g'JR
Content-Type: application/octet-stream; name="omniORB4_win-lnx.diff"
Content-Disposition: attachment; filename="omniORB4_win-lnx.diff"
Content-Transfer-Encoding: base64
ZGlmZiAtLXVuaWZpZWQ9NSAtYiAtQiBvbW5pT1JCNC9jb3JiYWlkbF9kZWZzLmhoIG9tbmlPUkI0
X2NoYW5nZWQvY29yYmFpZGxfZGVmcy5oaAotLS0gb21uaU9SQjQvY29yYmFpZGxfZGVmcy5oaAky
MDAzLTAxLTIxIDE0OjEwOjE4LjAwMDAwMDAwMCArMDEwMAorKysgb21uaU9SQjRfY2hhbmdlZC9j
b3JiYWlkbF9kZWZzLmhoCTIwMDMtMDEtMjEgMTQ6MDc6NDIuMDAwMDAwMDAwICswMTAwCkBAIC0x
NjE5LDEwICsxNjE5LDEyIEBACiBwcml2YXRlOgogICBVTG9uZ0xvbmdTZXFfb3V0KCk7CiAgIFVM
b25nTG9uZ1NlcV9vdXQmIG9wZXJhdG9yPShjb25zdCBVTG9uZ0xvbmdTZXFfdmFyJik7CiB9Owog
CisjaWZkZWYgSEFTX0xvbmdEb3VibGUKKwogX0NPUkJBX01PRFVMRV9WQVIgX2R5bl9hdHRy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