sj3lib: Get rid of sj_sysvdef.h
Signed-off-by: Masanori Ogino <mogino@acm.org>
This commit is contained in:
parent
2e09ce400a
commit
b2efd23d9a
2 changed files with 1 additions and 15 deletions
|
|
@ -28,17 +28,11 @@
|
|||
* from Sony Corporation.
|
||||
*/
|
||||
|
||||
#include "sj_sysvdef.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include <locale.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#if defined(__sony_news) && defined(SVR4)
|
||||
#include <sonyils.h>
|
||||
#endif
|
||||
|
||||
#include "sj_euc.h"
|
||||
|
||||
#ifndef TRUE
|
||||
|
|
@ -181,7 +175,7 @@ int max;
|
|||
#define MASK 0x7f
|
||||
#define MSB 0x80
|
||||
|
||||
#if !defined(__sony_news) || (defined(__sony_news) && !defined(SVR4))
|
||||
#if !defined(__sony_news) || defined(__sony_news)
|
||||
static unsigned char def_char[] = {0x81, 0x40};
|
||||
|
||||
int
|
||||
|
|
@ -356,7 +350,6 @@ unsigned short code;
|
|||
return(code);
|
||||
}
|
||||
#else
|
||||
#ifndef SVR4
|
||||
static unsigned char def_char[] = {0x81, 0x40};
|
||||
|
||||
int
|
||||
|
|
@ -379,6 +372,5 @@ int slen, elen;
|
|||
return sj3_str_euctosjis(s, slen, e, def_char, &dummy);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue