Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
Fix the problem of being included twice
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul H. Liu committed Jan 7, 2015
1 parent 36047b7 commit ae7d857
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/j2c/pse-types.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
* THE SOFTWARE.
*
*/
#ifndef PSE_TYPES
#define PSE_TYPES

#define DEF_C_ARRAY(ELEMENT_TYPE, TYPENAME) \
TYPENAME##_array inline new_##TYPENAME##_array_1d(ELEMENT_TYPE* _data, unsigned _N1) { \
Expand Down Expand Up @@ -169,3 +171,4 @@ int64_t inline checked_smul(int64_t a, int64_t b)
#define ALLOC alloc_if(1) free_if(0)
#define FREE alloc_if(0) free_if(1)
#define REUSE alloc_if(0) free_if(0)
#endif

0 comments on commit ae7d857

Please sign in to comment.