[vlc-commits] Use _WIN32 rather than WIN32 (same for WIN64)
Rafaël Carré
git at videolan.org
Wed Jun 5 16:06:25 CEST 2013
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Jun 5 15:41:18 2013 +0200| [6d5336200143e6d1ad70ef653c72265d25f67640] | committer: Rafaël Carré
Use _WIN32 rather than WIN32 (same for WIN64)
http://msdn.microsoft.com/en-us/library/b0084kay(v=vs.80).aspx only
mentions the _ prefixed variable.
gcc will always define the _ prefixed variable, like Visual Studio.
The prefixless one is defined in some language standards, e.g. gnu99
but not c99.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6d5336200143e6d1ad70ef653c72265d25f67640
---
bin/winvlc.c | 4 +-
compat/flockfile.c | 2 +-
compat/fsync.c | 4 +-
compat/getpid.c | 4 +-
compat/inet_pton.c | 2 +-
compat/poll.c | 8 ++--
compat/posix_memalign.c | 2 +-
configure.ac | 12 +++---
contrib/src/lame/lame-forceinline.patch | 2 +-
contrib/src/zvbi/zvbi-win32.patch | 20 +++++-----
include/vlc/libvlc.h | 2 +-
include/vlc_charset.h | 2 +-
include/vlc_common.h | 12 +++---
include/vlc_fs.h | 2 +-
include/vlc_interface.h | 2 +-
include/vlc_intf_strings.h | 2 +-
include/vlc_network.h | 6 +--
include/vlc_plugin.h | 2 +-
include/vlc_threads.h | 2 +-
lib/media_player.c | 6 +--
modules/access/cdda.c | 2 +-
modules/access/directory.c | 2 +-
modules/access/dtv/access.c | 6 +--
modules/access/dv.c | 2 +-
modules/access/dvdnav.c | 2 +-
modules/access/dvdread.c | 2 +-
modules/access/file.c | 10 ++---
modules/access/live555.cpp | 2 +-
modules/access/rtp/input.c | 2 +-
modules/access/rtp/srtp.c | 2 +-
modules/access/screen/screen.c | 6 +--
modules/access/smb.c | 12 +++---
modules/access/vcd/cdrom.c | 20 +++++-----
modules/access/vcd/cdrom_internals.h | 8 ++--
modules/access/vcd/vcd.c | 2 +-
modules/access/vcdx/access.c | 2 +-
modules/access/vdr.c | 2 +-
modules/access/zip/unzip/ioapi.h | 2 +-
modules/access/zip/unzip/unzip.h | 2 +-
modules/access_output/file.c | 6 +--
modules/access_output/udp.c | 2 +-
modules/codec/dmo/buffer.c | 2 +-
modules/codec/dmo/dmo.c | 2 +-
modules/codec/dmo/dmo.h | 2 +-
modules/codec/fluidsynth.c | 2 +-
modules/codec/libass.c | 6 +--
modules/codec/omxil/OMX_Types.h | 6 +--
modules/codec/quicktime.c | 20 +++++-----
modules/control/dummy.c | 6 +--
modules/control/globalhotkeys/win32.c | 2 +-
modules/control/rc.c | 24 ++++++------
modules/demux/mkv/mkv.cpp | 2 +-
modules/demux/playlist/playlist.c | 4 +-
modules/gui/eject.c | 4 +-
modules/gui/qt4/components/open_panels.cpp | 16 ++++----
modules/gui/qt4/components/open_panels.hpp | 4 +-
modules/gui/qt4/components/preferences_widgets.cpp | 2 +-
modules/gui/qt4/components/simple_preferences.cpp | 24 ++++++------
modules/gui/qt4/components/simple_preferences.hpp | 8 ++--
.../gui/qt4/components/sout/profile_selector.cpp | 4 +-
modules/gui/qt4/dialogs/vlm.cpp | 2 +-
modules/gui/qt4/main_interface.cpp | 10 ++---
modules/gui/qt4/main_interface.hpp | 8 ++--
modules/gui/qt4/qt4.cpp | 8 ++--
modules/gui/qt4/qt4.hpp | 2 +-
modules/gui/qt4/recents.cpp | 4 +-
modules/gui/qt4/util/registry.cpp | 4 +-
modules/gui/skins2/parser/builder.cpp | 2 +-
modules/gui/skins2/src/skin_common.hpp | 2 +-
modules/gui/skins2/src/skin_main.cpp | 4 +-
modules/gui/skins2/src/theme_repository.cpp | 2 +-
modules/gui/skins2/src/vout_manager.hpp | 2 +-
modules/gui/skins2/utils/bezier.cpp | 2 +-
modules/lua/extension.c | 2 +-
modules/lua/intf.c | 2 +-
modules/lua/libs.h | 2 +-
modules/lua/libs/equalizer.c | 2 +-
modules/lua/libs/net.c | 2 +-
modules/lua/vlc.c | 4 +-
modules/meta_engine/taglib.cpp | 8 ++--
modules/misc/gnutls.c | 10 ++---
modules/misc/rtsp.c | 2 +-
modules/misc/xml/libxml.c | 2 +-
modules/services_discovery/sap.c | 4 +-
modules/stream_out/chromaprint.c | 2 +-
modules/stream_out/rtcp.c | 2 +-
modules/stream_out/rtp.c | 2 +-
modules/stream_out/rtsp.c | 4 +-
modules/text_renderer/freetype.c | 22 +++++------
modules/text_renderer/svg.c | 2 +-
modules/video_filter/atmo/AtmoCalculations.cpp | 2 +-
.../video_filter/atmo/AtmoClassicConnection.cpp | 10 ++---
modules/video_filter/atmo/AtmoClassicConnection.h | 4 +-
modules/video_filter/atmo/AtmoDefs.h | 2 +-
.../video_filter/atmo/AtmoDmxSerialConnection.cpp | 12 +++---
.../video_filter/atmo/AtmoDmxSerialConnection.h | 4 +-
.../video_filter/atmo/AtmoExternalCaptureInput.h | 2 +-
modules/video_filter/atmo/AtmoMultiConnection.cpp | 12 +++---
modules/video_filter/atmo/AtmoMultiConnection.h | 4 +-
modules/video_filter/atmo/AtmoZoneDefinition.cpp | 2 +-
modules/video_filter/atmo/FnordlichtConnection.cpp | 16 ++++----
modules/video_filter/atmo/FnordlichtConnection.h | 4 +-
modules/video_filter/atmo/MoMoConnection.cpp | 8 ++--
modules/video_filter/atmo/MoMoConnection.h | 4 +-
modules/video_filter/atmo/atmo.cpp | 40 ++++++++++----------
modules/video_filter/deinterlace/yadif_template.h | 2 +-
modules/video_filter/panoramix.c | 8 ++--
modules/video_filter/scene.c | 2 +-
modules/video_output/aa.c | 4 +-
modules/video_output/caca.c | 10 ++---
modules/video_output/fb.c | 2 +-
modules/video_output/opengl.h | 2 +-
modules/video_output/sdl.c | 6 +--
modules/visualization/projectm.cpp | 4 +-
src/config/file.c | 6 +--
src/config/help.c | 12 +++---
src/input/es_out_timeshift.c | 6 +--
src/interface/interface.c | 2 +-
src/libvlc-module.c | 16 ++++----
src/libvlc.c | 10 ++---
src/libvlc.h | 2 +-
src/misc/block.c | 2 +-
src/misc/cpu.c | 8 ++--
src/misc/messages.c | 16 ++++----
src/misc/objects.c | 6 +--
src/misc/update.c | 8 ++--
src/modules/cache.c | 2 +-
src/modules/textdomain.c | 4 +-
src/network/httpd.c | 8 ++--
src/network/io.c | 20 +++++-----
src/network/rootbind.c | 2 +-
src/network/tcp.c | 2 +-
src/network/udp.c | 6 +--
src/stream_output/sap.c | 2 +-
src/stream_output/stream_output.c | 2 +-
src/text/charset.c | 2 +-
src/text/strings.c | 4 +-
src/text/unicode.c | 4 +-
src/text/url.c | 14 +++----
src/video_output/vout_wrapper.c | 8 ++--
src/video_output/window.c | 2 +-
141 files changed, 401 insertions(+), 401 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=6d5336200143e6d1ad70ef653c72265d25f67640
More information about the vlc-commits
mailing list