CFG=asx8051 - Win32 Release\r
!MESSAGE This is not a valid makefile. To build this project using NMAKE,\r
!MESSAGE use the Export Makefile command and run\r
-!MESSAGE\r
+!MESSAGE \r
!MESSAGE NMAKE /f "asx8051.mak".\r
-!MESSAGE\r
+!MESSAGE \r
!MESSAGE You can specify a configuration when running NMAKE\r
!MESSAGE by defining the macro CFG on the command line. For example:\r
-!MESSAGE\r
+!MESSAGE \r
!MESSAGE NMAKE /f "asx8051.mak" CFG="asx8051 - Win32 Release"\r
-!MESSAGE\r
+!MESSAGE \r
!MESSAGE Possible choices for configuration are:\r
-!MESSAGE\r
+!MESSAGE \r
!MESSAGE "asx8051 - Win32 Debug" (based on "Win32 (x86) Console Application")\r
!MESSAGE "asx8051 - Win32 Release" (based on "Win32 (x86) Console Application")\r
-!MESSAGE\r
+!MESSAGE \r
\r
# Begin Project\r
# PROP AllowPerConfigDependencies 0\r
# ADD BASE LINK32 /nologo /subsystem:console /machine:I386 /out:"..\..\bin_vc\asx8051.exe" /pdbtype:sept\r
# ADD LINK32 /nologo /subsystem:console /machine:I386 /out:"..\..\bin_vc\asx8051.exe" /pdbtype:sept\r
\r
-!ENDIF\r
+!ENDIF \r
\r
# Begin Target\r
\r
c = *buffer->cur++;
if (prev_space && c == '_')
- {
+ {
if (buffer->cur + _ENDASM_LEN <= buffer->rlimit &&
- strncmp(buffer->cur, _ENDASM_STR, _ENDASM_LEN) == 0)
+ strncmp((char *)buffer->cur, _ENDASM_STR, _ENDASM_LEN) == 0)
{
buffer->cur += _ENDASM_LEN;
ret = 0;
- break;
+ break;
}
- }
+ }
else if (c == '\n')
- {
- unsigned int cols;
- --buffer->cur;
- _cpp_process_line_notes (pfile, true);
- if (buffer->next_line >= buffer->rlimit)
- return true;
- _cpp_clean_line (pfile);
-
- cols = buffer->next_line - buffer->line_base;
- CPP_INCREMENT_LINE (pfile, cols);
- }
+ {
+ unsigned int cols;
+ --buffer->cur;
+ _cpp_process_line_notes (pfile, true);
+ if (buffer->next_line >= buffer->rlimit)
+ return true;
+ _cpp_clean_line (pfile);
+
+ cols = buffer->next_line - buffer->line_base;
+ CPP_INCREMENT_LINE (pfile, cols);
+ }
}
_cpp_process_line_notes (pfile, true);
CRs are automatically generated, because the output is
opened in TEXT mode. If dest == NULL, only count chars */
static unsigned int
-copy_text_chars (char *dest, const char *src, unsigned int len)
+copy_text_chars (unsigned char *dest, const unsigned char *src, unsigned int len)
{
unsigned int n = 0;
- const char *p;
+ const unsigned char *p;
for (p = src; p != src + len; ++p)
{