Browse Source

Add compatibility fix for MinGW

tags/v1.1
Bernhard Fröhlich 11 months ago
parent
commit
b145dd718a
Signed by: Bernhard Froehlich <decke@bluelife.at> GPG Key ID: 4DD88C3F9F3B8333
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      drmdecrypt.c

+ 6
- 0
drmdecrypt.c View File

@@ -22,6 +22,12 @@
#include "trace.h"
#include "buffer.h"

/* MinGW compatibility */
#if defined(_WIN32) || defined(_WIN64)
#define S_IRGRP (S_IRUSR >> 3)
#define S_IROTH (S_IRGRP >> 3)
#endif

/* Helper macros */
#define STR_HELPER(x) #x
#define STR(x) STR_HELPER(x)

Loading…
Cancel
Save