Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 2 additions & 32 deletions 3rdparty/fcpp/cppdef.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,36 +26,6 @@
*
*
*****************************************************************************/
#ifdef EMACS

/* Use the Emacs config file to find out what type of machine */

#define NO_SHORTNAMES

/* Convert Emacs's conventions for BIG_ENDIAN to cpp's convention. */
#ifdef BIG_ENDIAN
#undef BIG_ENDIAN
#define BIG_ENDIAN FPP_TRUE
#else /* not BIG_ENDIAN */
#define BIG_ENDIAN FPP_FALSE
#endif /* BIG_ENDIAN */

/* Emacs uses the names index and rindex and defines them as str(r)chr if nec;
cpp uses the opposite convention. Here we flush the macro definitions for
Emacs and add the ones cpp wants. */

#ifdef index
#undef index
#undef rindex
#else /* index is not defined as a macro */
#define strchr index
#define strrchr rindex
#endif /* index is not defined as a macro */

#define NBUFF 2048
#define NWORK 2048

#endif /* EMACS */

/*
* S y s t e m D e p e n d e n t
Expand Down Expand Up @@ -299,11 +269,11 @@
#endif

#ifndef NBUFF
#define NBUFF 512
#define NBUFF 2048
#endif

#ifndef NWORK
#define NWORK 512
#define NWORK 4096
#endif

#ifndef NEXP
Expand Down
4 changes: 4 additions & 0 deletions tools/shaderc/shaderc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -760,9 +760,13 @@ namespace bgfx
m_tagptr->data = this;
m_tagptr++;

#if 0
// Disabled, because this was actually never supported by fcpp.
// The tag was defined but not implemented.
m_tagptr->tag = FPPTAG_DEPENDS;
m_tagptr->data = (void*)fppDepends;
m_tagptr++;
#endif

m_tagptr->tag = FPPTAG_INPUT;
m_tagptr->data = (void*)fppInput;
Expand Down