Skip to content

Commit

Permalink
as: fix build of assember internal development version
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalak committed Jun 4, 2024
1 parent fdb124a commit 3f23b47
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 7 deletions.
6 changes: 4 additions & 2 deletions bld/as/axp/c/alphafmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Open Watcom Project
*
* Copyright (c) 2002-2023 The Open Watcom Contributors. All Rights Reserved.
* Copyright (c) 2002-2024 The Open Watcom Contributors. All Rights Reserved.
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* ========================================================================
Expand Down Expand Up @@ -31,7 +31,9 @@


#include "as.h"
#ifndef _STANDALONE_
#ifdef _STANDALONE_
#include "options.h"
#else
#include "asinline.h"
#endif

Expand Down
5 changes: 4 additions & 1 deletion bld/as/axp/c/alphains.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Open Watcom Project
*
* Copyright (c) 2002-2023 The Open Watcom Contributors. All Rights Reserved.
* Copyright (c) 2002-2024 The Open Watcom Contributors. All Rights Reserved.
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* ========================================================================
Expand Down Expand Up @@ -32,6 +32,9 @@


#include "as.h"
#ifdef _STANDALONE_
#include "options.h"
#endif


#define MAX_NAME_LEN 20 // maximum length of an Alpha instruction mnemonic
Expand Down
6 changes: 5 additions & 1 deletion bld/as/c/assymbol.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Open Watcom Project
*
* Copyright (c) 2002-2019 The Open Watcom Contributors. All Rights Reserved.
* Copyright (c) 2002-2024 The Open Watcom Contributors. All Rights Reserved.
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* ========================================================================
Expand Down Expand Up @@ -32,6 +32,10 @@


#include "as.h"
#ifdef _STANDALONE_
#include "options.h"
#endif


#define HASH_TABLE_SIZE 211

Expand Down
6 changes: 4 additions & 2 deletions bld/as/mps/c/mipsfmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Open Watcom Project
*
* Copyright (c) 2002-2023 The Open Watcom Contributors. All Rights Reserved.
* Copyright (c) 2002-2024 The Open Watcom Contributors. All Rights Reserved.
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* ========================================================================
Expand Down Expand Up @@ -31,7 +31,9 @@


#include "as.h"
#ifndef _STANDALONE_
#ifdef _STANDALONE_
#include "options.h"
#else
#include "asinline.h"
#endif

Expand Down
3 changes: 3 additions & 0 deletions bld/as/mps/c/mipsins.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@


#include "as.h"
#ifdef _STANDALONE_
#include "options.h"
#endif


#define MAX_NAME_LEN 20 // maximum length of a MIPS instruction mnemonic (TODO)
Expand Down
5 changes: 4 additions & 1 deletion bld/as/ppc/c/ppcfmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Open Watcom Project
*
* Copyright (c) 2023 The Open Watcom Contributors. All Rights Reserved.
* Copyright (c) 2023-2024 The Open Watcom Contributors. All Rights Reserved.
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* ========================================================================
Expand Down Expand Up @@ -31,6 +31,9 @@


#include "as.h"
#ifdef _STANDALONE_
#include "options.h"
#endif


// these correspond to letters on Appendix A table of Motorola refrence
Expand Down
3 changes: 3 additions & 0 deletions bld/as/ppc/c/ppcins.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
****************************************************************************/

#include "as.h"
#ifdef _STANDALONE_
#include "options.h"
#endif


#define MAX_NAME_LEN 20 /* maximum length of a PPC instruction mnemonic */
Expand Down
1 change: 1 addition & 0 deletions bld/as/y/scan.re
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include "asparser.h"
#ifdef _STANDALONE_
#include "preproc.h"
#include "options.h"
#endif

#define BSIZE 8192
Expand Down
4 changes: 4 additions & 0 deletions bld/as/y/yydriver.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#include "as.h"
#include "lexyacc.h"
#include "asparser.h"
#ifdef _STANDALONE_
#include "options.h"
#endif


typedef uint_16 YYACTIONBASETYPE;
typedef uint_16 YYACTIONTYPE;
Expand Down

0 comments on commit 3f23b47

Please sign in to comment.