summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2016-12-29 18:45:40 +0100
committerChristian Beier <dontmind@freeshell.org>2016-12-29 18:45:40 +0100
commita23e87e5ec02678dd0be0c19bf2ac4f01c8315ee (patch)
treef3cab10ccc9b0138ce6fd7ec3dca1235f6c5ca5b
parent1026ad43f50cc367d089f526593e36328689e071 (diff)
downloadlibtdevnc-a23e87e5.tar.gz
libtdevnc-a23e87e5.zip
Fix README markdown.
-rw-r--r--README2
1 files changed, 2 insertions, 0 deletions
diff --git a/README b/README
index 43c574a..c930307 100644
--- a/README
+++ b/README
@@ -334,11 +334,13 @@ There are three packages you want to get hold of: zlib, jpeg and pthreads.
The latter is not strictly necessary, but when you put something like this
into your source:
+```
#define MUTEX(s)
struct {
int something;
MUTEX(latex);
}
+```
Microsoft's C++ compiler doesn't do it. It complains that this is an error.
This, however, is how I implemented mutexes in case you don't need pthreads,