[ https://issues.apache.org/jira/browse/TS-2200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13763182#comment-13763182 ]
Leif Hedstrom commented on TS-2200: ----------------------------------- Maybe it's time to move these to ts/ts.h ? > the macro TS_HRTIME_xxx in proxy/api/ts/experimental.h is invalid when plugin > use these macros > ---------------------------------------------------------------------------------------------- > > Key: TS-2200 > URL: https://issues.apache.org/jira/browse/TS-2200 > Project: Traffic Server > Issue Type: Bug > Components: TS API > Reporter: Yu Qing > Assignee: Yu Qing > Attachments: 0001-define-macro-TS_HRTIME_XXX-directly.patch > > > such macro defines in proxy/api/ts/experimental.h: > #define TS_HRTIME_FOREVER HRTIME_FOREVER > #define TS_HRTIME_DECADE HRTIME_DECADE > #define TS_HRTIME_YEAR HRTIME_YEAR > #define TS_HRTIME_WEEK HRTIME_WEEK > #define TS_HRTIME_DAY HRTIME_DAY > #define TS_HRTIME_HOUR HRTIME_HOUR > #define TS_HRTIME_MINUTE HRTIME_MINUTE > #define TS_HRTIME_SECOND HRTIME_SECOND > #define TS_HRTIME_MSECOND HRTIME_MSECOND > #define TS_HRTIME_USECOND HRTIME_USECOND > #define TS_HRTIME_NSECOND HRTIME_NSECOND > ... > The macros of HRTIME_xxx (such as HRTIME_SECOND) in lib/ts/ink_hrtime.h。 > Because the TS plugins SHOULD not include the header file ink_hrtime.h, so > they can't use above macros like TS_HRTIME_xxx。 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira