saprykin / plibsys

Highly portable C system library: threads and synchronization primitives, sockets (TCP, UDP, SCTP), IPv4 and IPv6, IPC, hash functions (MD5, SHA-1, SHA-2, SHA-3, GOST), binary trees (RB, AVL) and more. Native code performance.
MIT License
672 stars 74 forks source link

How about using C STD uint32_t instead of puint32 and so on? #87

Closed lygstate closed 3 years ago

saprykin commented 3 years ago

Well, the problem is that on some operating systems a compiler can be rather old (i.e. GCC < 3.x) or non-compliant with C99 standard which introcuced fixed integer types. That's the reason why we have to use custom data types - to insure that everything is consistent and portable across a wide range of systems and compilers.