Browse Source

compat/avisynth/windowsPorts/windows2linux: Add () to protect macro arguments

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.6
Michael Niedermayer 10 years ago
parent
commit
0babb896b4
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      compat/avisynth/windowsPorts/windows2linux.h

+ 2
- 2
compat/avisynth/windowsPorts/windows2linux.h View File

@@ -52,8 +52,8 @@ namespace avxsynth {
//
// Functions
//
#define MAKEDWORD(a,b,c,d) ((a << 24) | (b << 16) | (c << 8) | (d))
#define MAKEWORD(a,b) ((a << 8) | (b))
#define MAKEDWORD(a,b,c,d) (((a) << 24) | ((b) << 16) | ((c) << 8) | (d))
#define MAKEWORD(a,b) (((a) << 8) | (b))

#define lstrlen strlen
#define lstrcpy strcpy


Loading…
Cancel
Save