forked from osmocom/wireshark
Note that _WIN32, not WIN32, should be used in #ifdefs and #ifs testing
the platform for which we're building (and that both should be avoided if possible, i.e. write your code so that it works on all platforms). svn path=/trunk/; revision=11973
This commit is contained in:
parent
f23f4ecf04
commit
23f5d0fb5f
|
@ -265,6 +265,13 @@ GLib 2.x or GTK+ 2.x and the new name should be used, disregard that and
|
||||||
use the old name - it'll still work with GLib 2.x or GTK+ 2.x, but will
|
use the old name - it'll still work with GLib 2.x or GTK+ 2.x, but will
|
||||||
also work with GLib 1.2[.x] and GTK+ 1.2[.x].
|
also work with GLib 1.2[.x] and GTK+ 1.2[.x].
|
||||||
|
|
||||||
|
When different code must be used on UN*X and Win32, use a #if or #ifdef
|
||||||
|
that tests _WIN32, not WIN32. Try to write code portably whenever
|
||||||
|
possible, however; note that there are some routines in Ethereal with
|
||||||
|
platform-dependent implementations and platform-independent APIs, such
|
||||||
|
as the routines in epan/filesystem.c, allowing the code that calls it to
|
||||||
|
be written portably without #ifdefs.
|
||||||
|
|
||||||
1.1.2 Robustness.
|
1.1.2 Robustness.
|
||||||
|
|
||||||
Ethereal is not guaranteed to read only network traces that contain
|
Ethereal is not guaranteed to read only network traces that contain
|
||||||
|
|
Loading…
Reference in New Issue