зеркало из https://github.com/mono/mail-archives.git
67 строки
2.2 KiB
HTML
67 строки
2.2 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-list] Determining the platform at compile and run time
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:chris%40chrisseaton.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
|
|
<LINK REL="Previous" HREF="016626.html">
|
|
<LINK REL="Next" HREF="016628.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-list] Determining the platform at compile and run time
|
|
</H1>
|
|
<B>Chris Seaton
|
|
</B>
|
|
<A HREF="mailto:chris%40chrisseaton.com"
|
|
TITLE="[Mono-list] Determining the platform at compile and run time">chris@chrisseaton.com
|
|
</A><BR>
|
|
<I>Wed, 29 Oct 2003 17:33:25 +0000</I>
|
|
<P><UL>
|
|
<LI> Previous message: <A HREF="016626.html">[Mono-list] how to enable ICU / check it is enabled?
|
|
</A></li>
|
|
<LI> Next message: <A HREF="016628.html">[Mono-list] Determining the platform at compile and run time
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#16627">[ date ]</a>
|
|
<a href="thread.html#16627">[ thread ]</a>
|
|
<a href="subject.html#16627">[ subject ]</a>
|
|
<a href="author.html#16627">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>How do I know what OS my program is running on at run time? PlatformID
|
|
contains no entry for any systems apart from Windows.
|
|
|
|
How about compile time? Is there something I can test for with a #if?
|
|
|
|
Thanks.
|
|
|
|
--
|
|
Chris Seaton
|
|
|
|
<A HREF="mailto:chris@chrisseaton.com">chris@chrisseaton.com</A>
|
|
<A HREF="http://www.chrisseaton.com/">http://www.chrisseaton.com/</A>
|
|
|
|
|
|
</PRE>
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI> Previous message: <A HREF="016626.html">[Mono-list] how to enable ICU / check it is enabled?
|
|
</A></li>
|
|
<LI> Next message: <A HREF="016628.html">[Mono-list] Determining the platform at compile and run time
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#16627">[ date ]</a>
|
|
<a href="thread.html#16627">[ thread ]</a>
|
|
<a href="subject.html#16627">[ subject ]</a>
|
|
<a href="author.html#16627">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
</body></html>
|