summaryrefslogtreecommitdiff
path: root/toxcore/ccompat.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/ccompat.h')
-rw-r--r--toxcore/ccompat.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/toxcore/ccompat.h b/toxcore/ccompat.h
index dfbfe3eb..90db8bc6 100644
--- a/toxcore/ccompat.h
+++ b/toxcore/ccompat.h
@@ -4,13 +4,6 @@
4#ifndef CCOMPAT_H 4#ifndef CCOMPAT_H
5#define CCOMPAT_H 5#define CCOMPAT_H
6 6
7// Marking GNU extensions to avoid warnings.
8#if defined(__GNUC__)
9#define GNU_EXTENSION __extension__
10#else
11#define GNU_EXTENSION
12#endif
13
14// Variable length arrays. 7// Variable length arrays.
15// VLA(type, name, size) allocates a variable length array with automatic 8// VLA(type, name, size) allocates a variable length array with automatic
16// storage duration. VLA_SIZE(name) evaluates to the runtime size of that array 9// storage duration. VLA_SIZE(name) evaluates to the runtime size of that array