Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c4efb32c
Commit
c4efb32c
authored
Apr 23, 2001
by
Francois Gouget
Committed by
Alexandre Julliard
Apr 23, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prevent use by Wine's source.
Added missing 'function' definitions (macros really).
parent
45e7a846
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
tchar.h
include/tchar.h
+10
-4
No files found.
include/tchar.h
View file @
c4efb32c
#ifndef __WINE_TCHAR_H
#ifndef __WINE_TCHAR_H
#define __WINE_TCHAR_H
#define __WINE_TCHAR_H
#ifdef __WINE__
#error Wine should not include tchar.h internally
#endif
#include "windef.h"
#include "windef.h"
#ifdef __cplusplus
#ifdef __cplusplus
...
@@ -10,10 +14,12 @@ extern "C" {
...
@@ -10,10 +14,12 @@ extern "C" {
/*****************************************************************************
/*****************************************************************************
* tchar routines
* tchar routines
*/
*/
#define _strdec(start,current) (start<current?((char*)current)-1:NULL)
#define _strdec(start,current) ((start)<(current) ? ((char*)(current))-1 : NULL)
#define _strinc(current) (((char*)current)+1)
#define _strinc(current) (((char*)(current))+1)
/* FIXME: _strncnt and strncnt are missing */
#define _strncnt(str,max) (strlen(str)>(max) ? (max) : strlen(str))
/* FIXME: _strspnp is not implemented */
#define _strnextc(str) ((unsigned int)*(str))
#define _strninc(str,n) (((char*)(str))+(n))
#define _strspnp(s1,s2) (*((s1)+=strspn((s1),(s2))) ? (s1) : NULL)
/*****************************************************************************
/*****************************************************************************
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment