Skip to content

Commit 3ebb293

Browse files
committed
Remove #ifdef GCC_GE_7 around caf_team_t type_def
This will allow successful compilation with 6.x. Not sure if there is any danger in doing this. Thoughts @afanfa & @vehre?
1 parent 8ceb2ce commit 3ebb293

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/libcaf.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ typedef enum caf_deregister_t {
9191
caf_deregister_t;
9292

9393
typedef void* caf_token_t;
94-
#ifdef GCC_GE_7
9594
/** Add a dummy type representing teams in coarrays. */
9695

9796
typedef void * caf_team_t;
@@ -109,7 +108,6 @@ typedef struct caf_used_teams_list {
109108
}
110109
caf_used_teams_list;
111110

112-
#endif
113111

114112
/* Linked list of static coarrays registered. */
115113
typedef struct caf_static_t {

0 commit comments

Comments
 (0)