ref: 9815d9dc5425add5d78ef271b08e627f8c0f0860
parent: fa89cd520740b63cc7a80ed2277f489453cdd7b6
author: knik <knik>
date: Sun Jul 2 10:35:23 EDT 2017
correct __GNUC__ macro name so the struct is actually packed
--- a/frontend/input.c
+++ b/frontend/input.c
@@ -16,7 +16,7 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * $Id: input.c,v 1.20 2017/07/01 09:46:12 knik Exp $
+ * $Id: input.c,v 1.21 2017/07/02 14:35:23 knik Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -78,7 +78,7 @@
u_int16_t wBitsPerSample;
u_int16_t cbSize;
}
-#ifdef __GNUC
+#ifdef __GNUC__
__attribute__((packed))
#endif
;
@@ -94,7 +94,7 @@
u_int32_t dwChannelMask; // which channels are present in stream
unsigned char SubFormat[16]; // guid
}
-#ifdef __GNUC
+#ifdef __GNUC__
__attribute__((packed))
#endif
;