summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-09-11 19:40:59 +0000
committerDavid Robillard <d@drobilla.net>2012-09-11 19:40:59 +0000
commitd3de089df6beafd97ef9673e6f5c58c96ca74dd8 (patch)
tree3b4129bda2973a25d687998edc2a1ac5ecb946f1
parent8642f60b5e903d76f414d5bc89adc14d71d7cd5d (diff)
downloadsratom-d3de089df6beafd97ef9673e6f5c58c96ca74dd8.tar.gz
sratom-d3de089df6beafd97ef9673e6f5c58c96ca74dd8.tar.bz2
sratom-d3de089df6beafd97ef9673e6f5c58c96ca74dd8.zip
Define __STDC_LIMIT_MACROS for UINT8_MAX in C++.
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4770 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/sratom.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sratom.c b/src/sratom.c
index c612843..4d0054a 100644
--- a/src/sratom.c
+++ b/src/sratom.c
@@ -14,6 +14,8 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#define __STDC_LIMIT_MACROS 1
+
#include <assert.h>
#include <ctype.h>
#include <stdio.h>