Skip to content

Commit a78d592

Browse files
apply change for mock structe for objc
1 parent 710d416 commit a78d592

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

code/logic/fossil/pizza/mock.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,8 @@ FOSSIL_PIZZA_API bool fossil_mock_compare_output(const char *captured, const cha
229229
struct name
230230
#else
231231
#define _FOSSIL_MOCK_STRUCT(name) \
232-
typedef struct name
232+
typedef struct name name; \
233+
struct name
233234
#endif
234235

235236
/**

0 commit comments

Comments
 (0)