diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.developer | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/doc/README.developer b/doc/README.developer index 766ef56035..e494e9e7b9 100644 --- a/doc/README.developer +++ b/doc/README.developer @@ -410,10 +410,15 @@ tmpnam is insecure and should not be used any more. Wireshark brings its own mkstemp implementation for use on platforms that lack mkstemp. Note: mkstemp does not accept NULL as a parameter. -Wireshark supports platforms with GLib 2.22[.x]/GTK+ 2.12[.x]/Qt 4.8[.x] or -newer. If a Glib/GTK+/Qt mechanism is available only in newer Glib/GTK+/Qt -versions then use "#if GLIB_CHECK_VERSION(...)", "#if GTK_CHECK_VERSION(...)" or -"#if QT_VERSION_CHECK(...)" to conditionally compile code using that mechanism. +Wireshark requires mininum versions of each of the libraries it uses, in +particular GLib 2.22.0, Qt 4.8.0, and GTK+ 2.12.0 or newer. If you +require a mechanism that is available only in a newer version of a +library then use its version detection macros, e.g. "#if +GLIB_CHECK_VERSION(...)", "#if QT_VERSION_CHECK(...)", and "#if +GTK_CHECK_VERSION(...)" to conditionally compile code using that +mechanism. If you're using GTK_CHECK_VERSION be aware that GTK+ will be +removed in a future release. Adding new features to the GTK+ UI is +discouraged. 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 |