* Applied patch by Adrian to fix the command structures used for the media
server with GCC4 in a GCC2 system (and vice versa). See #4920 which this patch closes, too. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33997 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#ifndef _DATA_EXCHANGE_H
|
||||
#define _DATA_EXCHANGE_H
|
||||
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <MediaFormats.h>
|
||||
@@ -60,6 +61,11 @@ struct reply_data {
|
||||
// The base struct used for all raw commands (asynchronous, no answer)
|
||||
struct command_data {
|
||||
// yes, it's empty ;)
|
||||
|
||||
#if __GNUC__ == 4
|
||||
int32 _padding;
|
||||
// GCC 2 and GCC 4 treat empty structures differently
|
||||
#endif
|
||||
};
|
||||
|
||||
// The base struct used for all requests using an area
|
||||
|
||||
Reference in New Issue
Block a user