Mercurial > libanimone
view include/animone/types.h @ 23:1cfa7d57c022
dep/animone: add experimental accessibility strategy
I also moved most of the functions out of util/win32.cc, because that
file is meant for things that are shared between the different functions,
and currently that is only wide string conversion helpers.
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 19 Jun 2024 23:13:55 -0400 |
parents | 973734ebd2be |
children | 60ded877339b |
line wrap: on
line source
#ifndef ANIMONE_ANIMONE_TYPES_H_ #define ANIMONE_ANIMONE_TYPES_H_ /* define this as unsigned long (DWORD) on win32 so we * don't force the user to include <windows.h> or <IntBase.h> */ #ifdef _WIN32 # include <cstdint> namespace animone::internal { using pid_t = std::uint32_t; } #else /* <sys/types.h> shouldn't be that big, right? */ # include <sys/types.h> namespace animone::internal { using pid_t = ::pid_t; } #endif #endif // ANIMONE_ANIMONE_TYPES_H_