adjustments to build on windows with mingw
Merge branch 'master' of https://github.com/nanomsg/nanomsg
Merge branch 'master' of https://github.com/nanomsg/nanomsg
Merge branch 'master' of https://github.com/nanomsg/nanomsg

Conflicts:
	CMakeLists.txt
trying to build on windows,mingw with autotools
added mingw build support for windows to autotool build
Merge branch 'master' of https://github.com/nanomsg/nanomsg

Conflicts:
	src/utils/int.h
Inital version of publish/subscribe RFC added

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Inserted missing space so that the ping-pong example works.

When pasting the ping snippet I got this error
nanocat --req --connect tcp://127.0.0.1:1234 --data ping--format ascii
nanocat: Unexpected argument ``ascii''

Inserting a spaces fixes this ascii error.
Fixed typo in description.
Fixed typo in description.
Fixed typos in description.
Fixed typos in description.
implement nn_reallocmsg
cleanup
cleanup
cleanup
add copyright notice
terminate ctx from nn_global_term. matches init call for ctx in nn_global_init
Close ctx mutex on last socket termination

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>