help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

limit to show codes for one platform?


From: William Xu
Subject: limit to show codes for one platform?
Date: Mon, 12 Nov 2007 13:12:26 +0900
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin)

In C source codes, when there are many #ifdef defined for various
platforms, is there a way to limit the source codes to the platform i'm
interested in, and hide all other platforms?

For instance, 

,----
| #ifdef VMS
| int a;
| #endif
| 
| #ifdef MACOS
| int b;
| #endif
`----

Suppose i'm only interested in MACOS platform, i'd like it to hide VMS
related codes.

-- 
William





reply via email to

[Prev in Thread] Current Thread [Next in Thread]