Skip to content

Conversation

@oicontrib
Copy link

We get build error when pid_t is not equal to int.
e.g on solaris when building 32bit version of cpputest pid_t is typedef to long.

@coveralls
Copy link

coveralls commented Jul 26, 2020

Coverage Status

Coverage remained the same at 99.833% when pulling 1079417 on oicontrib:master into ec0b029 on cpputest:master.

#endif

#ifdef _cpputest_pid_t
#define PID_T _cpputest_pid_t
Copy link
Contributor

@offa offa Jul 26, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't typedef a better choice here? #define can be harmful at many places.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed #define to typedef.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants