Skip to content

Commit

Permalink
fix(ti-compat): fixed compat header
Browse files Browse the repository at this point in the history
POSIX headers' path has been changed.
  • Loading branch information
xerdink committed May 2, 2019
1 parent ae4dd94 commit 90503ad
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions compat/minmea_compat_ti-rtos.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,22 @@
* published by Sam Hocevar. See the COPYING file for more details.
*/

#if defined(__TI_ARM__)
#ifndef MINMEA_COMPAT_H_
#define MINMEA_COMPAT_H_

// timespec definition
#include <ti/sysbios/posix/types.h>
#if defined(__TI_ARM__)
#include <ti/posix/ccs/sys/types.h>
#include <ti/posix/ccs/time.h>
#elif defined(__IAR_SYSTEMS_ICC__)
#include <ti/posix/iar/sys/types.h>
#include <ti/posix/iar/time.h>
#elif defined(gcc)
#include <ti/posix/gcc/sys/types.h>
#include <ti/posix/gcc/time.h>
#endif /* __TI_ARM__ */

#define timegm mktime

#endif
#endif /* MINMEA_COMPAT_H */

/* vim: set ts=4 sw=4 et: */

0 comments on commit 90503ad

Please sign in to comment.