Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 57836fe

Browse files
committed
change in staticforward -- added statichere
1 parent 4f508cc commit 57836fe

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

Include/object.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,9 +376,15 @@ object, so I can't just put extern in all cases. :-( )
376376

377377
#ifdef BAD_STATIC_FORWARD
378378
#define staticforward extern
379+
#ifdef __SC__
380+
#define statichere
379381
#else
382+
#define statichere static
383+
#endif /* __SC__ */
384+
#else /* !BAD_STATIC_FORWARD */
380385
#define staticforward static
381-
#endif /* BAD_STATIC_FORWARD */
386+
#define statichere static
387+
#endif /* !BAD_STATIC_FORWARD */
382388

383389

384390
/*

0 commit comments

Comments
 (0)