diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-05-07 13:28:06 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-05-07 13:28:06 +0000 |
commit | f81640f19e9089919f2574bbd379303fb5e5ac8f (patch) | |
tree | c74958fe6af46ecbca94dcd43434b2578c57754d /pjlib/include/pj | |
parent | 02da5a7a43635662ea100c0c090e9e09f8c5632e (diff) |
Added nios2 processor settings PJLIB in config.h (thanks F)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1949 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj')
-rw-r--r-- | pjlib/include/pj/config.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pjlib/include/pj/config.h b/pjlib/include/pj/config.h index ec1b283f..22564420 100644 --- a/pjlib/include/pj/config.h +++ b/pjlib/include/pj/config.h @@ -251,6 +251,18 @@ # define PJ_IS_LITTLE_ENDIAN 0 # define PJ_IS_BIG_ENDIAN 1 +#elif defined (PJ_M_NIOS2) || defined(__nios2) || defined(__nios2__) || \ + defined(__NIOS2__) || defined(__M_NIOS2) || defined(_ARCH_NIOS2) + /* + * Nios2, little endian + */ +# undef PJ_M_NIOS2 +# define PJ_M_NIOS2 1 +# define PJ_M_NAME "nios2" +# define PJ_HAS_PENTIUM 0 +# define PJ_IS_LITTLE_ENDIAN 1 +# define PJ_IS_BIG_ENDIAN 0 + #else # error "Please specify target machine." #endif |