Skip to content

Commit

Permalink
Fix for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
dzhdanNV committed Sep 2, 2024
1 parent 7aad4b8 commit 59a4ce4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Include/NRIDescs.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
#pragma once

#include <stdint.h>
#include <stddef.h>

#if defined(__clang__) || defined(__GNUC__)
#define NRI_CALL __attribute__((stdcall))
#if defined(__clang__) || defined(__GNUC__)
#define NRI_CALL
#else
#define NRI_CALL __stdcall
#endif
Expand Down

0 comments on commit 59a4ce4

Please sign in to comment.