Skip to content

Commit

Permalink
MSVC doesn't define UINT32_MAX
Browse files Browse the repository at this point in the history
  • Loading branch information
wiredfool committed May 24, 2016
1 parent bdd9b93 commit f0397f2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libImaging/Quant.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
#include "QuantHash.h"
#include "QuantHeap.h"

# MSVC9.0
#ifndef UINT32_MAX
#define UINT32_MAX 0xffffffff
#endif

#define NO_OUTPUT

typedef struct {
Expand Down

0 comments on commit f0397f2

Please sign in to comment.