Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed index_t typedef as it conflicted with a system definition #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

flowers9
Copy link

Solaris has an index_t in sys/types.h that's a short. The MECAT version is a long. I realize you might not care about solaris compilation, but here it is, as I ran across it while hunting down a bug and wanted to remove it as a possible source of problems.

The original typedef was from idx_t (which is itself a typedef) to index_t, and I've simply removed the typedef and replaced index_t with idx_t, except for one file that further typedef'd index_t to idx where I removed the extra typedef and replaced idx with idx_t.

different type (in solaris sys/types.h index_t is a short, rather than
our long).  Replaced all references with idx_t, which is what it had
been a typedef for.  In the one file that had further typedef'd idx to
index_t, replaced idx with idx_t rather than update the 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.

1 participant