Skip to content

Commit

Permalink
channel: Drop macro guard on struct msgbuf
Browse files Browse the repository at this point in the history
Signed-off-by: Siddharth Chandrasekaran <[email protected]>
  • Loading branch information
sidcha committed Sep 3, 2023
1 parent 2dfd014 commit 4db9849
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@
#include <utils/channel.h>
#include <utils/fdutils.h>

#if defined(__GLIBC__) || defined(__APPLE__)
struct msgbuf {
long mtype; /* message type, must be > 0 */
uint8_t mtext[512]; /* message data */
};
#endif

struct channel_msgq_s {
int send_id;
Expand Down

0 comments on commit 4db9849

Please sign in to comment.