MathisRosenhauer / libaec

libaec - Adaptive Entropy Coding library
https://gitlab.dkrz.de/k202009/libaec
BSD 2-Clause "Simplified" License
12 stars 9 forks source link

Is HAVE_STDINT_H worth while? #4

Closed schwehr closed 6 years ago

schwehr commented 6 years ago

I would argue that compilers that don't have stdint.h are too old to be work supporting on the master branch of libaec. If stdint.h isn't present (or is broken), will libaec even compile?

Using encode_accessors.h as an example:

#include "config.h"

#if HAVE_STDINT_H
#  include <stdint.h>
#endif

Could be come just

#include <stdint.h>
MathisRosenhauer commented 6 years ago

Since C99 is now required this certainly can go.