Skip to content

Commit

Permalink
common/ipc: skip variables for native code on nacl
Browse files Browse the repository at this point in the history
  • Loading branch information
illwieckz committed May 31, 2024
1 parent 49748bd commit 8525650
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/common/IPC/Primitives.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ enum NaClDescTypeTag {
NACL_DESC_NULL
};
#define NACL_DESC_TYPE_MAX (NACL_DESC_NULL + 1)

#if !defined(__native_client__)
static const int NACL_DESC_TYPE_END_TAG = (0xff);

struct NaClInternalRealHeader {
Expand All @@ -96,6 +98,8 @@ struct NaClInternalHeader {
};

static const uint32_t NACL_HANDLE_TRANSFER_PROTOCOL = 0xd3c0de01;
#endif

// End of imported definitions

namespace IPC {
Expand Down

0 comments on commit 8525650

Please sign in to comment.